function LanguageLocalTasksTest::getLanguageAdminOverviewRoutes
Same name in other branches
- 9 core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::getLanguageAdminOverviewRoutes()
- 8.9.x core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::getLanguageAdminOverviewRoutes()
- 10 core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::getLanguageAdminOverviewRoutes()
Provides a list of routes to test.
File
-
core/
modules/ language/ tests/ src/ Unit/ Menu/ LanguageLocalTasksTest.php, line 38
Class
- LanguageLocalTasksTest
- Tests existence of language local tasks.
Namespace
Drupal\Tests\language\Unit\MenuCode
public static function getLanguageAdminOverviewRoutes() {
return [
[
'entity.configurable_language.collection',
[
[
'entity.configurable_language.collection',
'language.negotiation',
],
],
],
[
'language.negotiation',
[
[
'entity.configurable_language.collection',
'language.negotiation',
],
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.