function DblogTypes::valueForm
Same name in other branches
- 10 core/modules/dblog/src/Plugin/views/filter/DblogTypes.php \Drupal\dblog\Plugin\views\filter\DblogTypes::valueForm()
- 11.x core/modules/dblog/src/Plugin/views/filter/DblogTypes.php \Drupal\dblog\Plugin\views\filter\DblogTypes::valueForm()
Overrides InOperator::valueForm
File
-
core/
modules/ dblog/ src/ Plugin/ views/ filter/ DblogTypes.php, line 28
Class
- DblogTypes
- Exposes log types to views module.
Namespace
Drupal\dblog\Plugin\views\filterCode
protected function valueForm(&$form, FormStateInterface $form_state) {
parent::valueForm($form, $form_state);
$form['value']['#access'] = !empty($form['value']['#options']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.