You are here

public function EmailEventBase::getLabel in Commerce Email 8

Gets the email event label.

Return value

string The email event label.

Overrides EmailEventInterface::getLabel

File

src/Plugin/Commerce/EmailEvent/EmailEventBase.php, line 15

Class

EmailEventBase
Provides a base class for email event plugins.

Namespace

Drupal\commerce_email\Plugin\Commerce\EmailEvent

Code

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