public function Xml::addFilter in Views XML Backend 8
Adds a filter.
Parameters
\Drupal\views_xml_backend\Plugin\views\filter\XmlFilterInterface $filter: The filter to add.
File
- src/
Plugin/ views/ query/ Xml.php, line 259 - Contains \Drupal\views_xml_backend\Plugin\views\query\Xml.
Class
- Xml
- Views query plugin for an XML query.
Namespace
Drupal\views_xml_backend\Plugin\views\queryCode
public function addFilter(XmlFilterInterface $filter) {
$this->filters[] = $filter;
}