function 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);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
