function RequiredContext::getContexts

Same name in other branches
  1. 4.0.x src/Form/RequiredContext.php \Drupal\ctools\Form\RequiredContext::getContexts()

Custom logic for retrieving the contexts array from cached_values.

Parameters

array $cached_values: The Cached Values.

Return value

array The Contexts.

1 call to RequiredContext::getContexts()
RequiredContext::renderContexts in src/Form/RequiredContext.php
Render The contexts in the form.

File

src/Form/RequiredContext.php, line 254

Class

RequiredContext
Required Context Form.

Namespace

Drupal\ctools\Form

Code

protected abstract function getContexts(array $cached_values);