\Drupflare\Anachron\Drupal\User GlobalUser

Summary

Methods
Properties
Constants
__construct
id
getRoles
hasPermission
hasRole
isAuthenticated
isAnonymous
getPreferredLangcode
getPreferredAdminLangcode
getAccountName
getDisplayName
getEmail
getTimeZone
getLastAccessedTime
__get
__set
__isset
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
inner
No private constants found

Properties

$inner

$inner : \Drupal\Core\Session\AccountInterface

Type

AccountInterface

Methods

__construct()

__construct(\Drupal\Core\Session\AccountInterface  $inner) : mixed

Parameters

\Drupal\Core\Session\AccountInterface $inner

Returns

mixed —

id()

id() : mixed

Returns

mixed —

getRoles()

getRoles(mixed  $exclude_locked_roles = false) : mixed

Parameters

mixed $exclude_locked_roles

Returns

mixed —

hasPermission()

hasPermission(mixed  $permission) : mixed

Parameters

mixed $permission

Returns

mixed —

hasRole()

hasRole(string  $rid) : bool

Parameters

string $rid

Returns

bool —

isAuthenticated()

isAuthenticated() : mixed

Returns

mixed —

isAnonymous()

isAnonymous() : mixed

Returns

mixed —

getPreferredLangcode()

getPreferredLangcode(mixed  $fallback_to_default = true) : mixed

Parameters

mixed $fallback_to_default

Returns

mixed —

getPreferredAdminLangcode()

getPreferredAdminLangcode(mixed  $fallback_to_default = true) : mixed

Parameters

mixed $fallback_to_default

Returns

mixed —

getAccountName()

getAccountName() : mixed

Returns

mixed —

getDisplayName()

getDisplayName() : mixed

Returns

mixed —

getEmail()

getEmail() : mixed

Returns

mixed —

getTimeZone()

getTimeZone() : mixed

Returns

mixed —

getLastAccessedTime()

getLastAccessedTime() : mixed

Returns

mixed —

__get()

__get(string  $name) : mixed

Parameters

string $name

Returns

mixed —

__set()

__set(string  $name, mixed  $value) : void

Parameters

string $name
mixed $value

Returns

void —

__isset()

__isset(string  $name) : bool

Parameters

string $name

Returns

bool —