You are here

public function SystemLocalTasksTest::getSystemAdminRoutes in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest::getSystemAdminRoutes()
  2. 9 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 61

Class

SystemLocalTasksTest
Tests existence of system local tasks.

Namespace

Drupal\Tests\system\Unit\Menu

Code

public function getSystemAdminRoutes() {
  return [
    [
      'system.admin_content',
      [
        [
          'system.admin_content',
        ],
      ],
    ],
    [
      'system.theme_settings_theme',
      [
        [
          'system.themes_page',
          'system.theme_settings',
        ],
        [
          'system.theme_settings_global',
          'system.theme_settings_theme:olivero',
        ],
      ],
    ],
  ];
}