public function GroupRelationBase::getEntityTypeId in Group 2.0.x
Returns the entity type ID the plugin supports.
Return value
string The entity type ID.
Overrides GroupRelationInterface::getEntityTypeId
2 calls to GroupRelationBase::getEntityTypeId()
- GroupRelationBase::getEntityReferenceSettings in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Returns a list of entity reference field settings.
- GroupRelationBase::getEntityType in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Returns the entity type definition the plugin supports.
File
- src/
Plugin/ Group/ Relation/ GroupRelationBase.php, line 77
Class
- GroupRelationBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getEntityTypeId() {
return $this->pluginDefinition['entity_type_id'];
}