FindOperation
class FindOperation extends AbstractOperation (View source)
"find" operation working on ContentRepository nodes. This operation allows for retrieval of nodes specified by a path, identifier or node type (recursive).
Example (node name):
q(node).find('main')
Example (relative path):
q(node).find('main/text1')
Example (absolute path):
q(node).find('/sites/my-site/home')
Example (identifier):
q(node).find('#30e893c1-caef-0ca5-b53d-e5699bb8e506')
Example (node type):
q(node).find('[instanceof Neos.NodeTypes:Text]')
Example (multiple node types):
q(node).find('[instanceof Neos.NodeTypes:Text],[instanceof Neos.NodeTypes:Image]')
Example (node type with filter):
q(node).find('[instanceof Neos.NodeTypes:Text][text*="Neos"]')
Properties
static protected string | $shortName | {@inheritdoc} |
|
static protected int | $priority | {@inheritdoc} |
|
protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
{@inheritdoc}
This operation operates rather on the given Context object than on the given node and thus may work with the legacy node interface until subgraphs are available {@inheritdoc}
No description
No description
No description
Details
bool
canEvaluate(array<int,mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
This operation operates rather on the given Context object than on the given node and thus may work with the legacy node interface until subgraphs are available {@inheritdoc}
protected array
getEntryPoints(array $contextNodes)
No description
protected array
addNodesByIdentifier(NodeAggregateId $nodeAggregateIdentifier, array $entryPoints, array $result)
No description
protected array
addNodesByPath(NodePath $nodePath, array $entryPoints, array $result)
No description
protected array
addNodesByType(NodeTypeName $nodeTypeName, array $entryPoints, array $result, ContentRepository $contentRepository)
No description