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. 8.9.x core/modules/dblog/tests/src/Functional/DbLogViewsTest.php \Drupal\Tests\dblog\Functional\DbLogViewsTest::getLogsEntriesTable()
  3. 10 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 37

Class

DbLogViewsTest
Verifies user access to log reports based on permissions.

Namespace

Drupal\Tests\dblog\Functional

Code

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

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