ShortcutSetStorageInterface::assignUser

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);
doc_Drupal
2016-10-29 09:42:58
Comments
Leave a Comment

Please login to continue.