public function ShortcutSetStorageInterface::assignUser in Drupal 8
Same name and namespace in other branches
- 9 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::assignUser()
Assigns a user to a particular shortcut set.
Parameters
\Drupal\shortcut\ShortcutSetInterface $shortcut_set: An object representing the shortcut set.
$account: A user account that will be assigned to use the set.
1 method overrides ShortcutSetStorageInterface::assignUser()
- ShortcutSetStorage::assignUser in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Assigns a user to a particular shortcut set.
File
- core/
modules/ shortcut/ src/ ShortcutSetStorageInterface.php, line 21
Class
- ShortcutSetStorageInterface
- Defines an interface for shortcut_set entity storage classes.
Namespace
Drupal\shortcutCode
public function assignUser(ShortcutSetInterface $shortcut_set, $account);