You are here

protected function DbLogTest::getLogsEntriesTable in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::getLogsEntriesTable()

Find the Logs table in the DOM.

Return value

\SimpleXMLElement[] The return value of a xpath search.

1 call to DbLogTest::getLogsEntriesTable()
DbLogTest::getLogEntries in core/modules/dblog/tests/src/Functional/DbLogTest.php
Gets the database log event information from the browser page.
1 method overrides DbLogTest::getLogsEntriesTable()
DbLogViewsTest::getLogsEntriesTable in core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
Find the Logs table in the DOM.

File

core/modules/dblog/tests/src/Functional/DbLogTest.php, line 745

Class

DbLogTest
Generate events and verify dblog entries; verify user access to log reports based on permissions.

Namespace

Drupal\Tests\dblog\Functional

Code

protected function getLogsEntriesTable() {
  return $this
    ->xpath('.//table[@id="admin-dblog"]/tbody/tr');
}