protected function AddVariantStaticContextConfigure::getContexts in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/AddVariantStaticContextConfigure.php \Drupal\page_manager_ui\Form\AddVariantStaticContextConfigure::getContexts()
Custom logic for retrieving the contexts array from cached_values.
Parameters
$cached_values:
Return value
\Drupal\Core\Plugin\Context\ContextInterface[]
Overrides ContextConfigure::getContexts
File
- page_manager_ui/
src/ Form/ AddVariantStaticContextConfigure.php, line 43 - Contains \Drupal\page_manager_ui\Form\AddVariantStaticContextConfigure.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getContexts($cached_values) {
return $this
->getPageVariant($cached_values)
->getContexts();
}