Neos\Neos\Command\NodeCommandControllerPlugin::createContext PHP Method

createContext() protected method

Creates a content context for given workspace and language identifiers
protected createContext ( string $workspaceName, array $dimensions ) : Context
$workspaceName string
$dimensions array
return Neos\ContentRepository\Domain\Service\Context
    protected function createContext($workspaceName, array $dimensions)
    {
        $contextProperties = array('workspaceName' => $workspaceName, 'dimensions' => $dimensions, 'invisibleContentShown' => true, 'inaccessibleContentShown' => true);
        return $this->contextFactory->create($contextProperties);
    }