You are here

function FilterPluginBase::value_form in Views (for Drupal 7) 8.3

Options form subform for setting options.

This should be overridden by all child classes and it must define $form['value']

See also

buildOptionsForm()

3 calls to FilterPluginBase::value_form()
FilterPluginBase::buildExposedForm in lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Render our chunk of the exposed filter form when selecting
FilterPluginBase::build_group_form in lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Build the form to let users create the group of exposed filters. This form is displayed when users click on button 'Build group'
FilterPluginBase::show_value_form in lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Shortcut to display the value form.
7 methods override FilterPluginBase::value_form()
BooleanOperator::value_form in lib/Drupal/views/Plugin/views/filter/BooleanOperator.php
Options form subform for setting options.
Equality::value_form in lib/Drupal/views/Plugin/views/filter/Equality.php
Provide a simple textfield for equality
HistoryUserTimestamp::value_form in lib/Views/node/Plugin/views/filter/HistoryUserTimestamp.php
Options form subform for setting options.
InOperator::value_form in lib/Drupal/views/Plugin/views/filter/InOperator.php
Options form subform for setting options.
Numeric::value_form in lib/Drupal/views/Plugin/views/filter/Numeric.php
Provide a simple textfield for equality

... See full list

File

lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 327
Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for filters.

Namespace

Drupal\views\Plugin\views\filter

Code

function value_form(&$form, &$form_state) {
  $form['value'] = array();
}