You are here

protected function EntityReferenceFilterViewResult::valueValidate in Views Reference Filter 8

Validate the options form.

Overrides FilterPluginBase::valueValidate

File

src/Plugin/views/filter/EntityReferenceFilterViewResult.php, line 572

Class

EntityReferenceFilterViewResult
Filter by entity id using items got from the another view..

Namespace

Drupal\entityreference_filter\Plugin\views\filter

Code

protected function valueValidate($form, FormStateInterface $form_state) {

  // We only validate if they've chosen the text field style.
  if ($this->options['type'] !== 'textfield') {
    return;
  }

  // @todo autocomplete validate
}