public function EmailEventBase::getEntityTypeId in Commerce Email 8
Gets the email event entity type ID.
This is the entity type ID of the entity the event is fired for.
Return value
string The email event entity type ID.
Overrides EmailEventInterface::getEntityTypeId
File
- src/
Plugin/ Commerce/ EmailEvent/ EmailEventBase.php, line 29
Class
- EmailEventBase
- Provides a base class for email event plugins.
Namespace
Drupal\commerce_email\Plugin\Commerce\EmailEventCode
public function getEntityTypeId() {
return $this->pluginDefinition['entity_type'];
}