You are here

public function FormWizardInterface::populateCachedValues in Chaos Tool Suite (ctools) 8.3

Form validation handler that populates the cached values from tempstore.

Temporary values are only available for a single page load so form submission will lose all the values. This was we reload and provide them to the validate and submit process.

Parameters

array $form: Drupal form array.

\Drupal\Core\Form\FormStateInterface $form_state: The initial form state before validation or submission of the steps.

1 method overrides FormWizardInterface::populateCachedValues()
FormWizardBase::populateCachedValues in src/Wizard/FormWizardBase.php
Form validation handler that populates the cached values from tempstore.

File

src/Wizard/FormWizardInterface.php, line 147

Class

FormWizardInterface
Form wizard interface.

Namespace

Drupal\ctools\Wizard

Code

public function populateCachedValues(array &$form, FormStateInterface $form_state);