createContextMatchingNodeData()
public method
TODO: We could get more specific about removed and invisible content by adding some more logic here that generates fitting values.
public createContextMatchingNodeData ( NodeData $nodeData ) : Context |
$nodeData |
Neos\ContentRepository\Domain\Model\NodeData |
|
return |
Neos\ContentRepository\Domain\Service\Context |
|
filterNodeByContext()
protected method
Will either return the node or NULL if it is not permitted in current context.
protected filterNodeByContext ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Context $context ) : Neos\ContentRepository\Domain\Model\NodeInterface | null |
$node |
Neos\ContentRepository\Domain\Model\NodeInterface |
|
$context |
Neos\ContentRepository\Domain\Service\Context |
|
return |
Neos\ContentRepository\Domain\Model\NodeInterface | null |
|
$contextFactory protected_oe property
protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory |
return |
Neos\ContentRepository\Domain\Service\ContextFactoryInterface |
|
$securityContext protected_oe property
protected Context,Neos\Flow\Security $securityContext |
return |
Neos\Flow\Security\Context |
|