Neos\Neos\Command\NodeCommandControllerPlugin::createContext PHP 메소드

createContext() 보호된 메소드

Creates a content context for given workspace and language identifiers
protected createContext ( string $workspaceName, array $dimensions ) : Context
$workspaceName string
$dimensions array
리턴 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);
    }