You are here

public function Email::getKey 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::getKey()

Gets the email key.

Return value

string The email key.

Overrides EmailInterface::getKey

File

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

Class

Email
Defines a plugin class for declared emails

Namespace

Drupal\easy_email_override\Plugin\Email

Code

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