You are here

public function RecipientTypeBase::getLabel in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/RecipientTypeBase.php \Drupal\workbench_email\Plugin\RecipientTypeBase::getLabel()

Returns the administrative label for this recipient type plugin.

Return value

string The label.

Overrides RecipientTypeInterface::getLabel

File

src/Plugin/RecipientTypeBase.php, line 101

Class

RecipientTypeBase
Provides a base class for Recipient type plugins.

Namespace

Drupal\workbench_email\Plugin

Code

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