function ConditionConfigure::getContexts

Same name in other branches
  1. 8.x-3.x src/Form/ConditionConfigure.php \Drupal\ctools\Form\ConditionConfigure::getContexts()

Custom logic for retrieving the contexts array from cached_values.

Parameters

array $cached_values: Cached values to get contexts from.

Return value

\Drupal\Core\Plugin\Context\ContextInterface[] The contexts from cache.

2 calls to ConditionConfigure::getContexts()
ConditionConfigure::buildForm in src/Form/ConditionConfigure.php
Form constructor.
ConditionConfigure::submitForm in src/Form/ConditionConfigure.php
Form submission handler.

File

src/Form/ConditionConfigure.php, line 207

Class

ConditionConfigure
Base class for condition configur operations.

Namespace

Drupal\ctools\Form

Code

protected abstract function getContexts(array $cached_values);