function TourHelpPageTest::getModuleList

Same name in other branches
  1. 9 core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::getModuleList()
  2. 8.9.x core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::getModuleList()
  3. 11.x core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::getModuleList()

Gets a list of modules to test for hook_help() pages.

Return value

array A list of module names to test.

1 call to TourHelpPageTest::getModuleList()
TourHelpPageTest::verifyHelp in core/modules/tour/tests/src/Functional/TourHelpPageTest.php
Verifies the logged in user has access to the help properly.

File

core/modules/tour/tests/src/Functional/TourHelpPageTest.php, line 138

Class

TourHelpPageTest
Verifies help page display of tours.

Namespace

Drupal\Tests\tour\Functional

Code

protected function getModuleList() {
    return [
        'Help',
        'Tour',
    ];
}

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