You are here

public function PageVariantInterface::getStaticContext in Page Manager 8

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

Retrieves a specific static context.

Parameters

string $name: The static context unique name.

Return value

array The configuration array of the static context

1 method overrides PageVariantInterface::getStaticContext()
PageVariant::getStaticContext in src/Entity/PageVariant.php
Retrieves a specific static context.

File

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

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function getStaticContext($name);