' . format_plural($number,
+ '1 user has chosen or been assigned to this shortcut set.',
+ '@count users have chosen or been assigned to this shortcut set.') . '

';
+ }
+
+ // Also, if a module implements hook_shortcut_default_set(), it's possible
+ // that this set is being used as a default set. Add a message about that too.
+ if ($this->moduleHandler->getImplementations('shortcut_default_set')) {
+ $info .= '

' . t('If you have chosen this shortcut set as the default for some or all users, they may also be affected by deleting it.') . '

' . format_plural($number,
- '1 user has chosen or been assigned to this shortcut set.',
- '@count users have chosen or been assigned to this shortcut set.') . '

';
- }
-
- // Also, if a module implements hook_shortcut_default_set(), it's possible
- // that this set is being used as a default set. Add a message about that too.
- if (count(module_implements('shortcut_default_set')) > 0) {
- $info .= '

' . t('If you have chosen this shortcut set as the default for some or all users, they may also be affected by deleting it.') . '