NodeHelper
class NodeHelper implements ProtectedContextAwareInterface (View source)
Eel helper for ContentRepository Nodes
Properties
protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
Check if the given node is already a collection, find collection by nodePath otherwise, throw exception if no content collection could be found
Generate a label for a node with a chaining mechanism. To be used in nodetype definitions.
If this node type or any of the direct or indirect super types has the given name.
No description
No description
Details
Node
nearestContentCollection(Node $node, string $nodePath)
Check if the given node is already a collection, find collection by nodePath otherwise, throw exception if no content collection could be found
NodeLabelToken
labelForNode(Node $node)
Generate a label for a node with a chaining mechanism. To be used in nodetype definitions.
bool
isOfType(Node $node, string $nodeType)
If this node type or any of the direct or indirect super types has the given name.
string
nodeAddressToString(Node $node)
No description
bool
allowsCallOfMethod(string $methodName)
No description