You are here

protected function PageVariant::getPageStorage in Page Manager 8.4

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

Wraps the page entity storage.

Return value

\Drupal\Core\Entity\EntityStorageInterface The Page entity storage service.

File

src/Entity/PageVariant.php, line 453

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

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