You are here

public function PageVariantInterface::getContexts in Page Manager 8

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

Gets the values for all defined contexts.

Return value

\Drupal\Core\Plugin\Context\ContextInterface[] An array of set context values, keyed by context name.

1 method overrides PageVariantInterface::getContexts()
PageVariant::getContexts in src/Entity/PageVariant.php
Gets the values for all defined contexts.

File

src/PageVariantInterface.php, line 71
Contains Drupal\page_manager\PageVariantInterface.

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function getContexts();