You are here

public function Email::getLabel in Easy Email 8

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