You are here

public function Email::getLabel in Easy Email 2.0.x

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

Gets the translated label.

Return value

string The translated label.

Overrides EmailInterface::getLabel

File

modules/easy_email_override/src/Plugin/Email/Email.php, line 16

Class

Email
Defines a plugin class for declared emails

Namespace

Drupal\easy_email_override\Plugin\Email

Code

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