protected function GroupNode::getNodeType in Group 2.0.x
Retrieves the node type this plugin supports.
Return value
\Drupal\node\NodeTypeInterface The node type this plugin supports.
File
- modules/
gnode/ src/ Plugin/ Group/ Relation/ GroupNode.php, line 33
Class
- GroupNode
- Provides a group relation for nodes.
Namespace
Drupal\gnode\Plugin\Group\RelationCode
protected function getNodeType() {
return NodeType::load($this
->getEntityBundle());
}