You are here

protected function Page::eventDispatcher in Page Manager 8.4

Same name and namespace in other branches
  1. 8 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 455

Class

Page
Defines a Page entity class.

Namespace

Drupal\page_manager\Entity

Code

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