function DbLogTest::getLogsEntriesTable

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

Class

DbLogTest
Verifies log entries and user access based on permissions.

Namespace

Drupal\Tests\dblog\Functional

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.