public function HistoryUserTimestamp::buildExposeForm

Options form subform for exposed filter options.

Overrides FilterPluginBase::buildExposeForm

See also

buildOptionsForm()

File

drupal/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php, line 28
Contains \Drupal\history\Plugin\views\filter\HistoryUserTimestamp.

Class

HistoryUserTimestamp
Filter for new content.

Namespace

Drupal\history\Plugin\views\filter

Code

public function buildExposeForm(&$form, &$form_state) {
  parent::buildExposeForm($form, $form_state);

  // @todo There are better ways of excluding required and multiple (object flags)
  unset($form['expose']['required']);
  unset($form['expose']['multiple']);
  unset($form['expose']['remember']);
}