You are here

public function FieldNumeric::buildOptionsForm in EntityFieldQuery Views Backend 8

Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.

Overrides FilterPluginBase::buildOptionsForm

File

src/Plugin/views/filter/FieldNumeric.php, line 34
Contains \Drupal\efq_views\Plugin\views\filter\FieldNumeric.

Class

FieldNumeric
Numeric filter for fields.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['delta'] = array(
    '#type' => 'textfield',
    '#title' => t('Delta'),
    '#default_value' => $this->options['delta'],
    '#description' => t('Numeric delta group identifier. If provided, only values attached to the same delta are matched. Leave empty to match all values.'),
  );
}