public function HistoryUserTimestamp::buildExposeForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php \Drupal\history\Plugin\views\filter\HistoryUserTimestamp::buildExposeForm()
Options form subform for exposed filter options.
Overrides FilterPluginBase::buildExposeForm
See also
buildOptionsForm()
File
- core/
modules/ history/ src/ Plugin/ views/ filter/ HistoryUserTimestamp.php, line 35 - Contains \Drupal\history\Plugin\views\filter\HistoryUserTimestamp.
Class
- HistoryUserTimestamp
- Filter for new content.
Namespace
Drupal\history\Plugin\views\filterCode
public function buildExposeForm(&$form, FormStateInterface $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']);
}