public function DocumentElement::getXpath in Drupal 10
Same name and namespace in other branches
- 9 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 28
Class
- DocumentElement
- Document element.
Namespace
Drupal\TestsCode
public function getXpath() {
return '//html';
}