public function MappedObject::eventDispatcher in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::eventDispatcher()
- 8.3 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\EntityCode
public function eventDispatcher() {
return \Drupal::service('event_dispatcher');
}