protected function PanelizerWizardContextForm::getContexts in Panelizer 8.4
Same name and namespace in other branches
- 8.5 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::getContexts()
- 8.3 src/Form/PanelizerWizardContextForm.php \Drupal\panelizer\Form\PanelizerWizardContextForm::getContexts()
Returns the contexts already available in the wizard.
Parameters
mixed $cached_values:
Return value
\Drupal\Core\Plugin\Context\ContextInterface[]
Overrides ManageContext::getContexts
File
- src/
Form/ PanelizerWizardContextForm.php, line 76
Class
- PanelizerWizardContextForm
- Simple wizard step form.
Namespace
Drupal\panelizer\FormCode
protected function getContexts($cached_values) {
return $cached_values['plugin']
->getPattern()
->getDefaultContexts($this->tempstoreFactory, $this
->getTempstoreId(), $this->machine_name);
}