public function PageVariantAddWizard::getNextParameters in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Wizard/PageVariantAddWizard.php \Drupal\page_manager_ui\Wizard\PageVariantAddWizard::getNextParameters()
The Route parameters for a 'next' step.
If your route requires more than machine_name and step keys, override and extend this method as needed.
Parameters
mixed $cached_values: The values returned by $this->getTempstore()->get($this->getMachineName());.
Return value
array An array keyed by: machine_name step
Overrides FormWizardBase::getNextParameters
File
- page_manager_ui/
src/ Wizard/ PageVariantAddWizard.php, line 153
Class
Namespace
Drupal\page_manager_ui\WizardCode
public function getNextParameters($cached_values) {
$parameters = parent::getNextParameters($cached_values);
// Add the page to the url parameters.
$parameters['page'] = $cached_values['page']
->id();
return $parameters;
}