protected function DbLogViewsTest::getLogsEntriesTable in Drupal 9
Same name and namespace in other branches
- 8 core/modules/dblog/tests/src/Functional/DbLogViewsTest.php \Drupal\Tests\dblog\Functional\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 39
Class
- DbLogViewsTest
- Generate events and verify dblog entries; verify user access to log reports based on permissions. Using the dblog UI generated by a View.
Namespace
Drupal\Tests\dblog\FunctionalCode
protected function getLogsEntriesTable() {
return $this
->xpath('.//table[contains(@class, "views-view-table")]/tbody/tr');
}