function ShortcutSetStorageInterface::getDefaultSet

Same name 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()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.