public function GroupContentEnablerBase::getEntityBundle in Group 8
Returns the entity bundle the plugin supports.
Return value
string|false The bundle name or FALSE in case it supports all bundles.
Overrides GroupContentEnablerInterface::getEntityBundle
4 calls to GroupContentEnablerBase::getEntityBundle()
- GroupContentEnablerBase::getEntityReferenceSettings in src/
Plugin/ GroupContentEnablerBase.php - Returns a list of entity reference field settings.
- GroupNode::calculateDependencies in modules/
gnode/ src/ Plugin/ GroupContentEnabler/ GroupNode.php - Calculates dependencies for the configured plugin.
- GroupNode::getGroupOperations in modules/
gnode/ src/ Plugin/ GroupContentEnabler/ GroupNode.php - Provides a list of operations for a group.
- GroupNode::getNodeType in modules/
gnode/ src/ Plugin/ GroupContentEnabler/ GroupNode.php - Retrieves the node type this plugin supports.
File
- src/
Plugin/ GroupContentEnablerBase.php, line 97
Class
- GroupContentEnablerBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\PluginCode
public function getEntityBundle() {
return $this->pluginDefinition['entity_bundle'];
}