You are here

public function GroupRelationBase::getEntityBundle in Group 2.0.x

Returns the entity bundle the plugin supports.

Return value

string|false The bundle name or FALSE in case it supports all bundles.

Overrides GroupRelationInterface::getEntityBundle

4 calls to GroupRelationBase::getEntityBundle()
GroupNode::calculateDependencies in modules/gnode/src/Plugin/Group/Relation/GroupNode.php
Calculates dependencies for the configured plugin.
GroupNode::getGroupOperations in modules/gnode/src/Plugin/Group/Relation/GroupNode.php
Provides a list of operations for a group.
GroupNode::getNodeType in modules/gnode/src/Plugin/Group/Relation/GroupNode.php
Retrieves the node type this plugin supports.
GroupRelationBase::getEntityReferenceSettings in src/Plugin/Group/Relation/GroupRelationBase.php
Returns a list of entity reference field settings.

File

src/Plugin/Group/Relation/GroupRelationBase.php, line 94

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getEntityBundle() {
  return $this->pluginDefinition['entity_bundle'];
}