File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ dependencies:
3131 - taxonomy
3232 - dblog
3333 - search
34- - shortcut
3534 - toolbar
3635 - field_ui
3736 - file
Original file line number Diff line number Diff line change @@ -40,26 +40,6 @@ function commerce_base_install() {
4040 user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, ['access site-wide contact form']);
4141 user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['access site-wide contact form']);
4242
43- // Allow authenticated users to use shortcuts.
44- user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['access shortcuts']);
45-
46- // Populate the default shortcut set.
47- $shortcut = entity_create('shortcut', [
48- 'shortcut_set' => 'default',
49- 'title' => t('Add content'),
50- 'weight' => -20,
51- 'link' => ['uri' => 'internal:/node/add'],
52- ]);
53- $shortcut->save();
54-
55- $shortcut = entity_create('shortcut', [
56- 'shortcut_set' => 'default',
57- 'title' => t('All content'),
58- 'weight' => -19,
59- 'link' => ['uri' => 'internal:/admin/content'],
60- ]);
61- $shortcut->save();
62-
6343 // Allow all users to use search.
6444 user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, ['search content']);
6545 user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['search content']);
You can’t perform that action at this time.
0 commit comments