You are here

protected function DbLogTest::getLogsEntriesTable in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::getLogsEntriesTable()
  2. 9 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.

File

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

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');
}