You are here

public function ShortcutSetStorageInterface::getDefaultSet in Drupal 8

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

Class

ShortcutSetStorageInterface
Defines an interface for shortcut_set entity storage classes.

Namespace

Drupal\shortcut

Code

public function getDefaultSet(AccountInterface $account);