function DocumentElement::getXpath
Returns XPath for handled element.
Return value
string
File
- 
              core/
tests/ Drupal/ Tests/ DocumentElement.php, line 31  
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.