You are here

public function LanguageLocalTasksTest::getLanguageAdminOverviewRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Contains \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest.

Class

LanguageLocalTasksTest
Tests existence of language local tasks.

Namespace

Drupal\Tests\language\Unit\Menu

Code

public function getLanguageAdminOverviewRoutes() {
  return array(
    array(
      'entity.configurable_language.collection',
      array(
        array(
          'entity.configurable_language.collection',
          'language.negotiation',
        ),
      ),
    ),
    array(
      'language.negotiation',
      array(
        array(
          'entity.configurable_language.collection',
          'language.negotiation',
        ),
      ),
    ),
  );
}