protected function TourHelpPageTest::getTourList in Drupal 10
Same name and namespace in other branches
- 8 core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::getTourList()
- 9 core/modules/tour/tests/src/Functional/TourHelpPageTest.php \Drupal\Tests\tour\Functional\TourHelpPageTest::getTourList()
Gets a list of tours to test.
Return value
array A list of tour titles to test. The first array element is a list of tours with links, and the second is a list of tours without links. Assumes that the user being tested has 'administer languages' permission but not 'translate interface'.
File
- core/
modules/ tour/ tests/ src/ Functional/ TourHelpPageTest.php, line 148
Class
- TourHelpPageTest
- Verifies help page display of tours.
Namespace
Drupal\Tests\tour\FunctionalCode
protected function getTourList() {
return [
[
'Adding languages',
'Language',
],
[
'Editing languages',
'Translation',
],
];
}