You are here

public function ShortcutSetStorageInterface::getAssignedToUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getAssignedToUser()
  2. 9 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\shortcut

Code

public function getAssignedToUser($account);