function DbLogViewsTest::getLogsEntriesTable

Same name in other branches
  1. 9 core/modules/dblog/tests/src/Functional/DbLogViewsTest.php \Drupal\Tests\dblog\Functional\DbLogViewsTest::getLogsEntriesTable()
  2. 10 core/modules/dblog/tests/src/Functional/DbLogViewsTest.php \Drupal\Tests\dblog\Functional\DbLogViewsTest::getLogsEntriesTable()
  3. 11.x core/modules/dblog/tests/src/Functional/DbLogViewsTest.php \Drupal\Tests\dblog\Functional\DbLogViewsTest::getLogsEntriesTable()

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\Functional

Code

protected function getLogsEntriesTable() {
    return $this->xpath('.//table[contains(@class, "views-view-table")]/tbody/tr');
}

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