protected function GroupNode::getNodeType in Group 8
Retrieves the node type this plugin supports.
Return value
\Drupal\node\NodeTypeInterface The node type this plugin supports.
File
- modules/
gnode/ src/ Plugin/ GroupContentEnabler/ GroupNode.php, line 37
Class
- GroupNode
- Provides a content enabler for nodes.
Namespace
Drupal\gnode\Plugin\GroupContentEnablerCode
protected function getNodeType() {
return NodeType::load($this
->getEntityBundle());
}