function ShortcutSetStorageInterface::getAssignedToUser
Same name in other branches
- 9 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getAssignedToUser()
- 8.9.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getAssignedToUser()
- 11.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getAssignedToUser()
Get the name of the set assigned to this user.
Parameters
\Drupal\user\Entity\User $account: The user account.
Return value
string The name of the shortcut set assigned to this user.
1 method overrides ShortcutSetStorageInterface::getAssignedToUser()
- ShortcutSetStorage::getAssignedToUser in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Get the name of the set assigned to this user.
File
-
core/
modules/ shortcut/ src/ ShortcutSetStorageInterface.php, line 55
Class
- ShortcutSetStorageInterface
- Defines an interface for shortcut_set entity storage classes.
Namespace
Drupal\shortcutCode
public function getAssignedToUser($account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.