function DbLogViewsTest::getLogsEntriesTable

Same name and namespace in other branches
  1. 8.9.x 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 38

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.