public function LocaleLocalTasksTest::getLocalePageRoutes in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php \Drupal\Tests\locale\Unit\Menu\LocaleLocalTasksTest::getLocalePageRoutes()
- 10 core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php \Drupal\Tests\locale\Unit\Menu\LocaleLocalTasksTest::getLocalePageRoutes()
Provides a list of routes to test.
File
- core/
modules/ locale/ tests/ src/ Unit/ Menu/ LocaleLocalTasksTest.php, line 39
Class
- LocaleLocalTasksTest
- Tests locale local tasks.
Namespace
Drupal\Tests\locale\Unit\MenuCode
public function getLocalePageRoutes() {
return [
[
'locale.translate_page',
],
[
'locale.translate_import',
],
[
'locale.translate_export',
],
[
'locale.settings',
],
];
}