public function ContentLogFilterForm::resetForm in Content Synchronization 8.2
Same name and namespace in other branches
- 8 src/Form/ContentLogFilterForm.php \Drupal\content_sync\Form\ContentLogFilterForm::resetForm()
- 3.0.x 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\FormCode
public function resetForm(array &$form, FormStateInterface $form_state) {
$_SESSION['cs_log_overview_filter'] = [];
}