DblogFilterForm::resetForm

public DblogFilterForm::resetForm(array &$form, FormStateInterface $form_state)

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

core/modules/dblog/src/Form/DblogFilterForm.php, line 92

Class

DblogFilterForm
Provides the database logging filter form.

Namespace

Drupal\dblog\Form

Code

public function resetForm(array &$form, FormStateInterface $form_state) {
  $_SESSION['dblog_overview_filter'] = array();
}
doc_Drupal
2016-10-29 09:01:18
Comments
Leave a Comment

Please login to continue.