function DocumentElement::getXpath
Same name in other branches
- 9 core/tests/Drupal/Tests/DocumentElement.php \Drupal\Tests\DocumentElement::getXpath()
- 10 core/tests/Drupal/Tests/DocumentElement.php \Drupal\Tests\DocumentElement::getXpath()
Returns XPath for handled element.
Return value
string
File
-
core/
tests/ Drupal/ Tests/ DocumentElement.php, line 30
Class
- DocumentElement
- Document element.
Namespace
Drupal\TestsCode
public function getXpath() {
return '//html';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.