You are here

public function RouteParameters::getPreviousParameters in Page Manager 8

The Route parameters for a 'previous' 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::getPreviousParameters

File

page_manager_ui/src/Wizard/RouteParameters.php, line 65
Contains \Drupal\page_manager_ui\Wizard\RouteParameters.

Class

RouteParameters

Namespace

Drupal\page_manager_ui\Wizard

Code

public function getPreviousParameters($cached_values) {
  $parameters = parent::getPreviousParameters($cached_values);
  $parameters['parameter'] = $this->parameter;
  return $parameters;
}