public function DblogFilterForm::resetForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/dblog/src/Form/DblogFilterForm.php \Drupal\dblog\Form\DblogFilterForm::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
- core/
modules/ dblog/ src/ Form/ DblogFilterForm.php, line 97 - Contains \Drupal\dblog\Form\DblogFilterForm.
Class
- DblogFilterForm
- Provides the database logging filter form.
Namespace
Drupal\dblog\FormCode
public function resetForm(array &$form, FormStateInterface $form_state) {
$_SESSION['dblog_overview_filter'] = array();
}