function ShortcutSetStorageInterface::getDefaultSet
Same name in other branches
- 9 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getDefaultSet()
- 8.9.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getDefaultSet()
- 10 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::getDefaultSet()
Gets the default shortcut set for a given user account.
Parameters
\Drupal\Core\Session\AccountInterface $account: The user account whose default shortcut set will be returned.
Return value
\Drupal\shortcut\ShortcutSetInterface An object representing the default shortcut set.
1 method overrides ShortcutSetStorageInterface::getDefaultSet()
- ShortcutSetStorage::getDefaultSet in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Gets the default shortcut set for a given user account.
File
-
core/
modules/ shortcut/ src/ ShortcutSetStorageInterface.php, line 88
Class
- ShortcutSetStorageInterface
- Defines an interface for shortcut_set entity storage classes.
Namespace
Drupal\shortcutCode
public function getDefaultSet(AccountInterface $account);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.