You are here

public function GroupRelationBase::getGroupTypeId in Group 2.0.x

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 GroupRelationInterface::getGroupTypeId

2 calls to GroupRelationBase::getGroupTypeId()
GroupRelationBase::getContentTypeConfigId in src/Plugin/Group/Relation/GroupRelationBase.php
Returns a safe, unique configuration ID for a group content type.
GroupRelationBase::getGroupType in src/Plugin/Group/Relation/GroupRelationBase.php
Returns the group type the plugin was instantiated for.

File

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

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function getGroupTypeId() {
  return $this->groupTypeId;
}