You are here

public function GroupRelationBase::getLabel in Group 2.0.x

Returns the administrative label for the plugin.

Return value

string The plugin label.

Overrides GroupRelationInterface::getLabel

2 calls to GroupRelationBase::getLabel()
GroupRelationBase::buildConfigurationForm in src/Plugin/Group/Relation/GroupRelationBase.php
Form constructor.
GroupRelationBase::getContentTypeLabel in src/Plugin/Group/Relation/GroupRelationBase.php
Returns the administrative label for a group content type.

File

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

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

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