You are here

function ViewsDependentFilter::acceptExposedInput in Views Dependent Filters 8

Prevent the view from accepting input from ourselves and dependents.

Overrides FilterPluginBase::acceptExposedInput

File

src/Plugin/views/filter/ViewsDependentFilter.php, line 354

Class

ViewsDependentFilter
Filters by given list of related content title options.

Namespace

Drupal\views_dependent_filter\Plugin\views\filter

Code

function acceptExposedInput($input) {

  // Disable our dependent filters just before they have a chance to act
  // on exposed input.
  $this
    ->filters_disable();

  // Doctor this so the whole form doesn't go looking for our exposed input.
  return TRUE;
}