You are here

public function PageInterface::getVariants in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/PageInterface.php \Drupal\page_manager\PageInterface::getVariants()

Returns the variants available for the entity.

Return value

\Drupal\page_manager\PageVariantInterface[] An array of the variants.

1 method overrides PageInterface::getVariants()
Page::getVariants in src/Entity/Page.php
Returns the variants available for the entity.

File

src/PageInterface.php, line 88
Contains \Drupal\page_manager\PageInterface.

Class

PageInterface
Provides an interface for page entities.

Namespace

Drupal\page_manager

Code

public function getVariants();