You are here

protected function EntityReferenceFilterViewResult::valueSubmit in Views Reference Filter 8

Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.

Overrides InOperator::valueSubmit

File

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

Class

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

Namespace

Drupal\entityreference_filter\Plugin\views\filter

Code

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

  // Set values as NULL.
  $form_state
    ->setValue([
    'options',
    'value',
  ], NULL);
}