public function ShortcutSetStorageDecorator::getDefaultSet in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::getDefaultSet()
- 8.2 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::getDefaultSet()
- 4.x webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::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.
Overrides ShortcutSetStorageInterface::getDefaultSet
File
- webprofiler/
src/ Entity/ Decorators/ Config/ ShortcutSetStorageDecorator.php, line 52
Class
- ShortcutSetStorageDecorator
- Class ShortcutSetStorageDecorator.
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function getDefaultSet(AccountInterface $account) {
return $this
->getOriginalObject()
->getDefaultSet($account);
}