You are here

public function PageVariantInterface::getContexts in Page Manager 8.4

Same name and namespace in other branches
  1. 8 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 66

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function getContexts();