AccountProxy
  • References/PHP/Drupal/Session/AccountProxy

A proxied implementation of AccountInterface. The reason why we need an account proxy is that we don't want to have global state directly stored

2025-01-10 15:47:30
AccountInterface::AUTHENTICATED_ROLE
  • References/PHP/Drupal/Session/AccountInterface

Role ID for authenticated users. File core/lib/Drupal/Core/Session/AccountInterface.php, line 23

2025-01-10 15:47:30
AccountProxyInterface
  • References/PHP/Drupal/Session/AccountProxyInterface

Defines an interface for a service which has the current account stored. Hierarchy interface

2025-01-10 15:47:30
AccountSwitcher::$accountStack
  • References/PHP/Drupal/Session/AccountSwitcher

A stack of previous overridden accounts. Type: \Drupal\Core\Session\AccountInterface[] File

2025-01-10 15:47:30
SessionManager::$sessionConfiguration
  • References/PHP/Drupal/Session/SessionManager

The session configuration. Type:

2025-01-10 15:47:30
AccountSwitcher::$currentUser
  • References/PHP/Drupal/Session/AccountSwitcher

The current user service. Type:

2025-01-10 15:47:30
SessionConfigurationInterface::hasSession
  • References/PHP/Drupal/Session/SessionConfigurationInterface

public SessionConfigurationInterface

2025-01-10 15:47:30
SessionHandler
  • References/PHP/Drupal/Session/SessionHandler

Default session handler. Hierarchy class \Symfony\Component\HttpFoundation\Sessio

2025-01-10 15:47:30
AccountSwitcher::__construct
  • References/PHP/Drupal/Session/AccountSwitcher

public AccountSwitcher::__construct(AccountProxyInterface $current_user

2025-01-10 15:47:30
AccountProxy::$account
  • References/PHP/Drupal/Session/AccountProxy

The instantiated account. Type:

2025-01-10 15:47:30