You are here

public function PageManagerContextEvent::getPage in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/Event/PageManagerContextEvent.php \Drupal\page_manager\Event\PageManagerContextEvent::getPage()

Returns the page entity for this event.

Return value

\Drupal\page_manager\PageInterface The page entity.

File

src/Event/PageManagerContextEvent.php, line 43
Contains \Drupal\page_manager\Event\PageManagerContextEvent.

Class

PageManagerContextEvent
Wraps a page entity for event subscribers.

Namespace

Drupal\page_manager\Event

Code

public function getPage() {
  return $this->page;
}