Issue #1975150 follow-up by David_Rothstein: Fix wrongly named return value in shortcut documentation.
parent
ae08f47b5d
commit
13dcfc2d66
|
@ -33,7 +33,7 @@
|
|||
function hook_shortcut_default_set($account) {
|
||||
// Use a special set of default shortcuts for administrators only.
|
||||
if (in_array(config('user.settings')->get('admin_role'), $account->roles)) {
|
||||
return 'mymodule_shortcut_admin_default_set';
|
||||
return 'admin-shortcuts';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue