public function Date::query in Views XML Backend 8
Same name in this branch
- 8 src/Plugin/views/filter/Date.php \Drupal\views_xml_backend\Plugin\views\filter\Date::query()
- 8 src/Plugin/views/sort/Date.php \Drupal\views_xml_backend\Plugin\views\sort\Date::query()
- 8 src/Plugin/views/argument/Date.php \Drupal\views_xml_backend\Plugin\views\argument\Date::query()
Add this filter to the query.
Due to the nature of fapi, the value and the operator have an unintended level of indirection. You will find them in $this->operator and $this->value respectively.
Overrides NumericFilter::query
File
- src/
Plugin/ views/ filter/ Date.php, line 28 - Contains \Drupal\views_xml_backend\Plugin\views\filter\Date.
Class
- Date
- Date filter implementation.
Namespace
Drupal\views_xml_backend\Plugin\views\filterCode
public function query() {
$this->query
->addFilter($this);
}