You are here

public function Xml::addArgument in Views XML Backend 8

Adds an argument.

Parameters

\Drupal\views_xml_backend\Plugin\views\argument\XmlArgumentInterface $argument: The argument to add.

File

src/Plugin/views/query/Xml.php, line 237
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\query

Code

public function addArgument(XmlArgumentInterface $argument) {
  $this->arguments[] = $argument;
}