You are here

public function DocumentElement::getXpath in Drupal 9

Returns XPath for handled element.

Return value

string

File

core/tests/Drupal/Tests/DocumentElement.php, line 24

Class

DocumentElement
Document element.

Namespace

Drupal\Tests

Code

public function getXpath() {
  return '//html';
}