protected function PanelizerWizardContextConfigure::getParentRouteInfo in Panelizer 8.5
Same name and namespace in other branches
- 8.3 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::getParentRouteInfo()
- 8.4 src/Form/PanelizerWizardContextConfigure.php \Drupal\panelizer\Form\PanelizerWizardContextConfigure::getParentRouteInfo()
Document the route name and parameters for redirect after submission.
Parameters
$cached_values:
Return value
array In the format of return ['route.name', ['machine_name' => $this->machine_name, 'step' => 'step_name]];
Overrides ContextConfigure::getParentRouteInfo
File
- src/
Form/ PanelizerWizardContextConfigure.php, line 34
Class
Namespace
Drupal\panelizer\FormCode
protected function getParentRouteInfo($cached_values) {
return [
'panelizer.wizard.add.step',
[
'machine_name' => $cached_values['id'],
'step' => 'contexts',
],
];
}