You are here

public function EntityReferenceFilterViewResult::isExposed in Views Reference Filter 8

Detects if the filter is exposed in the form.

Return value

bool Exposed state.

Overrides HandlerBase::isExposed

3 calls to EntityReferenceFilterViewResult::isExposed()
EntityReferenceFilterViewResult::acceptExposedInput in src/Plugin/views/filter/EntityReferenceFilterViewResult.php
Determines if the input from a filter should change the generated query.
EntityReferenceFilterViewResult::query in src/Plugin/views/filter/EntityReferenceFilterViewResult.php
Add this filter to the query.
EntityReferenceFilterViewResult::validateExposed in src/Plugin/views/filter/EntityReferenceFilterViewResult.php
Validate the exposed handler form

File

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

Class

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

Namespace

Drupal\entityreference_filter\Plugin\views\filter

Code

public function isExposed() {
  return !empty($this->options['exposed']) ? TRUE : FALSE;
}