You are here

protected function PageVariant::getPageStorage in Page Manager 8

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

Wraps the page entity storage.

Return value

\Drupal\Core\Entity\EntityStorageInterface

File

src/Entity/PageVariant.php, line 455
Contains Drupal\page_manager\Entity\PageVariant.

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

protected function getPageStorage() {
  return \Drupal::entityTypeManager()
    ->getStorage('page');
}