You are here

public function EmailEventBase::getEventName in Commerce Email 8

Gets the Symfony event name.

Return value

string The Symfony event name.

Overrides EmailEventInterface::getEventName

File

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

Class

EmailEventBase
Provides a base class for email event plugins.

Namespace

Drupal\commerce_email\Plugin\Commerce\EmailEvent

Code

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