Neos\Neos\Ui\TYPO3CR\Service\NodeService::prepareContextProperties PHP Метод

prepareContextProperties() защищенный Метод

Prepares the context properties for the nodes based on the given workspace and dimensions
protected prepareContextProperties ( string $workspaceName, array $dimensions = null ) : array
$workspaceName string
$dimensions array
Результат array
    protected function prepareContextProperties($workspaceName, array $dimensions = null)
    {
        $contextProperties = array('workspaceName' => $workspaceName, 'invisibleContentShown' => false, 'removedContentShown' => false);
        if ($workspaceName !== 'live') {
            $contextProperties['invisibleContentShown'] = true;
        }
        if ($dimensions !== null) {
            $contextProperties['dimensions'] = $dimensions;
        }
        return $contextProperties;
    }