You are here

public function MappedObject::eventDispatcher in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::eventDispatcher()
  2. 5.0.x modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::eventDispatcher()

Wrapper for Drupal core event_dispatcher service.

Return value

\Symfony\Component\EventDispatcher\EventDispatcherInterface Event dispatcher.

Overrides MappedObjectInterface::eventDispatcher

File

modules/salesforce_mapping/src/Entity/MappedObject.php, line 353

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function eventDispatcher() {
  return \Drupal::service('event_dispatcher');
}