You are here

abstract protected function ContextConfigure::addContext in Chaos Tool Suite (ctools) 8.3

Custom logic for adding a context to the cached_values contexts array.

Parameters

array $cached_values: The cached_values currently in use.

string $context_id: The context identifier.

\Drupal\Core\Plugin\Context\ContextInterface $context: The context to add or update within the cached values.

Return value

mixed Return the $cached_values

1 call to ContextConfigure::addContext()
ContextConfigure::submitForm in src/Form/ContextConfigure.php
Form submission handler.

File

src/Form/ContextConfigure.php, line 251

Class

ContextConfigure

Namespace

Drupal\ctools\Form

Code

protected abstract function addContext($cached_values, $context_id, ContextInterface $context);