You are here

public function RecipientTypeBase::getLabel in Workbench Email 8

Same name and namespace in other branches
  1. 2.x 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'];
}