You are here

public function PageVariant::getStaticContexts in Page Manager 8

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

Returns the static context configurations for this page entity.

Return value

array[] An array of static context configurations.

Overrides PageVariantInterface::getStaticContexts

1 call to PageVariant::getStaticContexts()
PageVariant::getContexts in src/Entity/PageVariant.php
Gets the values for all defined contexts.

File

src/Entity/PageVariant.php, line 365
Contains Drupal\page_manager\Entity\PageVariant.

Class

PageVariant
Defines the page variant entity.

Namespace

Drupal\page_manager\Entity

Code

public function getStaticContexts() {
  return $this->static_context;
}