function ShortcutLocalTasksTest::getShortcutPageRoutes
Provides a list of routes to test.
File
-
core/
modules/ shortcut/ tests/ src/ Unit/ Menu/ ShortcutLocalTasksTest.php, line 51
Class
- ShortcutLocalTasksTest
- Tests existence of shortcut local tasks.
Namespace
Drupal\Tests\shortcut\Unit\MenuCode
public static function getShortcutPageRoutes() {
return [
[
'entity.user.canonical',
],
[
'entity.user.edit_form',
],
[
'shortcut.set_switch',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.