You are here

public function SystemLocalTasksTest::getSystemAdminRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest::getSystemAdminRoutes()

Provides a list of routes to test.

File

core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php, line 66
Contains \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest.

Class

SystemLocalTasksTest
Tests existence of system local tasks.

Namespace

Drupal\Tests\system\Unit\Menu

Code

public function getSystemAdminRoutes() {
  return array(
    array(
      'system.admin_content',
      array(
        array(
          'system.admin_content',
        ),
      ),
    ),
    array(
      'system.theme_settings_theme',
      array(
        array(
          'system.themes_page',
          'system.theme_settings',
        ),
        array(
          'system.theme_settings_global',
          'system.theme_settings_theme:bartik',
        ),
      ),
    ),
  );
}