You are here

public function ManageFilesForm::filterListReset in Minify JS 8.2

Same name and namespace in other branches
  1. 8 src/Form/ManageFilesForm.php \Drupal\minifyjs\Form\ManageFilesForm::filterListReset()

Filter list reset submit callback.

Parameters

array $form: The form array.

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

File

src/Form/ManageFilesForm.php, line 277

Class

ManageFilesForm
Manage files form class.

Namespace

Drupal\minifyjs\Form

Code

public function filterListReset(array &$form, FormStateInterface $form_state) {
  $session = \Drupal::service('tempstore.private')
    ->get('minifyjs');
  $session
    ->set('query', NULL);
}