function LocaleLocalTasksTest::getLocalePageRoutes
Same name in other branches
- 9 core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php \Drupal\Tests\locale\Unit\Menu\LocaleLocalTasksTest::getLocalePageRoutes()
- 8.9.x core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php \Drupal\Tests\locale\Unit\Menu\LocaleLocalTasksTest::getLocalePageRoutes()
- 11.x 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 41
Class
- LocaleLocalTasksTest
- Tests locale local tasks.
Namespace
Drupal\Tests\locale\Unit\MenuCode
public static function getLocalePageRoutes() {
return [
[
'locale.translate_page',
],
[
'locale.translate_import',
],
[
'locale.translate_export',
],
[
'locale.settings',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.