public function Standard::__toString in Views XML Backend 8
Same name in this branch
- 8 src/Plugin/views/filter/Standard.php \Drupal\views_xml_backend\Plugin\views\filter\Standard::__toString()
- 8 src/Plugin/views/argument/Standard.php \Drupal\views_xml_backend\Plugin\views\argument\Standard::__toString()
Generates an XPath argument string.
Return value
string The XPath argument string.
Overrides XmlArgumentInterface::__toString
File
- src/
Plugin/ views/ argument/ Standard.php, line 62 - Contains \Drupal\views_xml_backend\Plugin\views\argument\Standard.
Class
- Standard
- Default implementation of the base argument plugin.
Namespace
Drupal\views_xml_backend\Plugin\views\argumentCode
public function __toString() {
$xpath = $this->options['xpath_selector'];
$value = Xpath::escapeXpathString($this
->getValue());
return "{$xpath} = {$value}";
}