protected function AddVariantSelectionConfigure::getParentRouteInfo in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/AddVariantSelectionConfigure.php \Drupal\page_manager_ui\Form\AddVariantSelectionConfigure::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 ConditionConfigure::getParentRouteInfo
File
- page_manager_ui/
src/ Form/ AddVariantSelectionConfigure.php, line 24
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getParentRouteInfo($cached_values) {
$page_variant = $this
->getPageVariant($cached_values);
return [
'entity.page_variant.add_step_form',
[
'page' => $page_variant
->getPage()
->id(),
'machine_name' => $this->machine_name,
'step' => 'selection',
],
];
}