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