You are here

protected function Page::eventDispatcher in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/Entity/Page.php \Drupal\page_manager\Entity\Page::eventDispatcher()

Wraps the event dispatcher.

Return value

\Symfony\Component\EventDispatcher\EventDispatcherInterface The event dispatcher.

File

src/Entity/Page.php, line 458
Contains \Drupal\page_manager\Entity\Page.

Class

Page
Defines a Page entity class.

Namespace

Drupal\page_manager\Entity

Code

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