NodeHelper
class NodeHelper implements ProtectedContextAwareInterface (View source)
Eel helper for ContentRepository Nodes
Methods
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
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
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
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