ShortcutSetStorageInterface::getDefaultSet

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);
doc_Drupal
2016-10-29 09:42:59
Comments
Leave a Comment

Please login to continue.