You are here

public function PageEditWizard::clearTempstore in Page Manager 8

Same name and namespace in other branches
  1. 8.4 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 310
Contains \Drupal\page_manager_ui\Wizard\PageEditWizard.

Class

PageEditWizard

Namespace

Drupal\page_manager_ui\Wizard

Code

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