public function FilterTest::query

Overrides Drupal\views\Plugin\views\filter\FilterPluginBase::query().

Overrides FilterPluginBase::query

File

drupal/core/modules/views/tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/filter/FilterTest.php, line 48
Definition of Drupal\views_test_data\Plugin\views\filter\FilterTest.

Class

FilterTest
Plugin annotation @PluginID("test_filter");

Namespace

Drupal\views_test_data\Plugin\views\filter

Code

public function query() {

  // Call the parent if this option is enabled.
  if ($this->options['test_enable']) {
    parent::query();
  }
}