You are here

function FieldString::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/FieldString.php, line 34
Contains \Drupal\efq_views\Plugin\views\filter\FieldString.

Class

FieldString
String filter for fields.

Namespace

Drupal\efq_views\Plugin\views\filter

Code

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.'),
  );
}