You are here

public function ManageFilesForm::filterList in Minify JS 8.2

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

Filter list submit callback.

Parameters

array $form: The form array.

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

File

src/Form/ManageFilesForm.php, line 264

Class

ManageFilesForm
Manage files form class.

Namespace

Drupal\minifyjs\Form

Code

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