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

1
2
3
public function resetForm(array &$form, FormStateInterface $form_state) {
  $_SESSION['dblog_overview_filter'] = array();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.