You are here

public function ShortcutLocalTasksTest::getShortcutPageRoutes in Zircon Profile 8

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

Provides a list of routes to test.

File

core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php, line 42
Contains \Drupal\Tests\shortcut\Unit\Menu\ShortcutLocalTasksTest.

Class

ShortcutLocalTasksTest
Tests existence of shortcut local tasks.

Namespace

Drupal\Tests\shortcut\Unit\Menu

Code

public function getShortcutPageRoutes() {
  return array(
    array(
      'entity.user.canonical',
    ),
    array(
      'entity.user.edit_form',
    ),
    array(
      'shortcut.set_switch',
    ),
  );
}