views information in exposed form hook I am trying to compare views in exposed form but so far there is no way I am getting views information in exposed form. Is there any way to do so? I need to compare view id for theme suggestion.
The view and display of an exposed form are stored in $form_state.

function mymodule_form_views_exposed_form_alter(&amp;$form, \Drupal\Core\Form\FormStateInterface $form_state) {
  $view = $form_state-&gt;get('view');
  $display = $form_state-&gt;get('display');
}