public function GroupContentEnablerBase::getGroupTypeId in Group 8
Returns the ID of the group type the plugin was instantiated for.
Return value
string|null The group type ID, if set in the plugin configuration.
Overrides GroupContentEnablerInterface::getGroupTypeId
2 calls to GroupContentEnablerBase::getGroupTypeId()
- GroupContentEnablerBase::getContentTypeConfigId in src/
Plugin/ GroupContentEnablerBase.php - Returns a safe, unique configuration ID for a group content type.
- GroupContentEnablerBase::getGroupType in src/
Plugin/ GroupContentEnablerBase.php - Returns the group type the plugin was instantiated for.
File
- src/
Plugin/ GroupContentEnablerBase.php, line 134
Class
- GroupContentEnablerBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\PluginCode
public function getGroupTypeId() {
return $this->groupTypeId;
}