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