You are here

public function GroupContentEnablerBase::getLabel in Group 8

Returns the administrative label for the plugin.

Return value

string The plugin label.

Overrides GroupContentEnablerInterface::getLabel

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

File

src/Plugin/GroupContentEnablerBase.php, line 66

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

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