NodeHelper
class NodeHelper implements ProtectedContextAwareInterface (View source)
Eel helper for ContentRepository Nodes
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
Details
NodeInterface
nearestContentCollection(NodeInterface $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(NodeInterface $node = null)
Generate a label for a node with a chaining mechanism. To be used in nodetype definitions.
bool
isOfType(NodeInterface $node, string $nodeType)
If this node type or any of the direct or indirect super types has the given name.
bool
allowsCallOfMethod(string $methodName)
No description