public ShortcutSetStorageInterface::assignUser(ShortcutSetInterface $shortcut_set, $account)
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.
File
- core/modules/shortcut/src/ShortcutSetStorageInterface.php, line 21
Class
- ShortcutSetStorageInterface
- Defines an interface for shortcut_set entity storage classes.
Namespace
Drupal\shortcut
Code
public function assignUser(ShortcutSetInterface $shortcut_set, $account);
Please login to continue.