function LatestRevision::operatorForm
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/filter/LatestRevision.php \Drupal\views\Plugin\views\filter\LatestRevision::operatorForm()
- 8.9.x core/modules/views/src/Plugin/views/filter/LatestRevision.php \Drupal\views\Plugin\views\filter\LatestRevision::operatorForm()
- 11.x core/modules/views/src/Plugin/views/filter/LatestRevision.php \Drupal\views\Plugin\views\filter\LatestRevision::operatorForm()
Options form subform for setting the operator.
This may be overridden by child classes, and it must define $form['operator'];
Parameters
array $form: An alterable, associative array containing the structure of the form, passed by reference.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FilterPluginBase::operatorForm
File
-
core/
modules/ views/ src/ Plugin/ views/ filter/ LatestRevision.php, line 75
Class
- LatestRevision
- Filter to show only the latest revision of an entity.
Namespace
Drupal\views\Plugin\views\filterCode
protected function operatorForm(&$form, FormStateInterface $form_state) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.