You are here

public function PageEditWizard::clearTempstore in Page Manager 8.4

Same name and namespace in other branches
  1. 8 page_manager_ui/src/Wizard/PageEditWizard.php \Drupal\page_manager_ui\Wizard\PageEditWizard::clearTempstore()

Clears the temporary store.

Parameters

array $form:

\Drupal\Core\Form\FormStateInterface $form_state:

File

page_manager_ui/src/Wizard/PageEditWizard.php, line 306

Class

PageEditWizard

Namespace

Drupal\page_manager_ui\Wizard

Code

public function clearTempstore(array &$form, FormStateInterface $form_state) {
  $this
    ->getTempstore()
    ->delete($this
    ->getMachineName());
}