You are here

protected function Page::variantStorage in Page Manager 8.4

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

Wraps the entity storage for page variants.

Return value

\Drupal\Core\Entity\EntityStorageInterface

File

src/Entity/Page.php, line 181

Class

Page
Defines a Page entity class.

Namespace

Drupal\page_manager\Entity

Code

protected function variantStorage() {
  return \Drupal::service('entity_type.manager')
    ->getStorage('page_variant');
}