Issue #1975150 follow-up by David_Rothstein: Fix wrongly named return value in shortcut documentation.

8.0.x
webchick 2013-04-23 15:22:39 -07:00
parent ae08f47b5d
commit 13dcfc2d66
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}
}