You are here

public function ShortcutSetStorageDecorator::getAssignedToUser in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::getAssignedToUser()
  2. 8 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::getAssignedToUser()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ShortcutSetStorageDecorator::getAssignedToUser()

Get the name of the set assigned to this user.

Parameters

\Drupal\user\Entity\User $account: The user account.

Return value

string The name of the shortcut set assigned to this user.

Overrides ShortcutSetStorageInterface::getAssignedToUser

File

webprofiler/src/Entity/Decorators/Config/ShortcutSetStorageDecorator.php, line 38

Class

ShortcutSetStorageDecorator
Class ShortcutSetStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function getAssignedToUser($account) {
  return $this
    ->getOriginalObject()
    ->getAssignedToUser($account);
}