function DbLogViewsTest::getLogsEntriesTable
Find the Logs table in the DOM.
Return value
\SimpleXMLElement[] The return value of a xpath search.
Overrides DbLogTest::getLogsEntriesTable
File
-
core/
modules/ dblog/ tests/ src/ Functional/ DbLogViewsTest.php, line 37
Class
- DbLogViewsTest
- Verifies user access to log reports based on permissions.
Namespace
Drupal\Tests\dblog\FunctionalCode
protected function getLogsEntriesTable() {
return $this->xpath('.//div[contains(@class, "views-element-container")]//table/tbody/tr');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.