You are here

public function ContentLogFilterForm::resetForm in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/ContentLogFilterForm.php \Drupal\content_sync\Form\ContentLogFilterForm::resetForm()
  2. 8 src/Form/ContentLogFilterForm.php \Drupal\content_sync\Form\ContentLogFilterForm::resetForm()

Resets the filter form.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

File

src/Form/ContentLogFilterForm.php, line 92

Class

ContentLogFilterForm
Provides the database logging filter form.

Namespace

Drupal\content_sync\Form

Code

public function resetForm(array &$form, FormStateInterface $form_state) {
  $_SESSION['cs_log_overview_filter'] = [];
}