Search for A

  1. Search 7.x for A
  2. Search 8.9.x for A
  3. Search 10.3.x for A
  4. Search 11.x for A
  5. Other projects
Title Object type File name Summary
AccountProxy.php file core/lib/Drupal/Core/Session/AccountProxy.php
AccountProxy::$account property core/lib/Drupal/Core/Session/AccountProxy.php The instantiated account.
AccountProxy::$eventDispatcher property core/lib/Drupal/Core/Session/AccountProxy.php Event dispatcher.
AccountProxy::$id property core/lib/Drupal/Core/Session/AccountProxy.php Account id.
AccountProxy::getAccount function core/lib/Drupal/Core/Session/AccountProxy.php Gets the currently wrapped account.
AccountProxy::getAccountName function core/lib/Drupal/Core/Session/AccountProxy.php Returns the unaltered login name of this account.
AccountProxy::getDisplayName function core/lib/Drupal/Core/Session/AccountProxy.php Returns the display name of this account.
AccountProxy::getEmail function core/lib/Drupal/Core/Session/AccountProxy.php Returns the email address of this account.
AccountProxy::getLastAccessedTime function core/lib/Drupal/Core/Session/AccountProxy.php The timestamp when the account last accessed the site.
AccountProxy::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountProxy.php Returns the preferred administrative language code of the account.
AccountProxy::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountProxy.php Returns the preferred language code of the account.
AccountProxy::getRoles function core/lib/Drupal/Core/Session/AccountProxy.php Returns a list of roles.
AccountProxy::getTimeZone function core/lib/Drupal/Core/Session/AccountProxy.php Returns the timezone of this account.
AccountProxy::hasPermission function core/lib/Drupal/Core/Session/AccountProxy.php Checks whether a user has a certain permission.
AccountProxy::id function core/lib/Drupal/Core/Session/AccountProxy.php Returns the user ID or 0 for anonymous.
AccountProxy::isAnonymous function core/lib/Drupal/Core/Session/AccountProxy.php Returns TRUE if the account is anonymous.
AccountProxy::isAuthenticated function core/lib/Drupal/Core/Session/AccountProxy.php Returns TRUE if the account is authenticated.
AccountProxy::loadUserEntity function core/lib/Drupal/Core/Session/AccountProxy.php Load a user entity.
AccountProxy::setAccount function core/lib/Drupal/Core/Session/AccountProxy.php Sets the currently wrapped account.
AccountProxy::setInitialAccountId function core/lib/Drupal/Core/Session/AccountProxy.php Sets the id of the initial account.
AccountProxy::__construct function core/lib/Drupal/Core/Session/AccountProxy.php AccountProxy constructor.
AccountProxyInterface interface core/lib/Drupal/Core/Session/AccountProxyInterface.php Defines an interface for a service which has the current account stored.
AccountProxyInterface.php file core/lib/Drupal/Core/Session/AccountProxyInterface.php
AccountProxyInterface::getAccount function core/lib/Drupal/Core/Session/AccountProxyInterface.php Gets the currently wrapped account.
AccountProxyInterface::setAccount function core/lib/Drupal/Core/Session/AccountProxyInterface.php Sets the currently wrapped account.
AccountProxyInterface::setInitialAccountId function core/lib/Drupal/Core/Session/AccountProxyInterface.php Sets the id of the initial account.
AccountProxyTest class core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @coversDefaultClass \Drupal\Core\Session\AccountProxy[[api-linebreak]]
@group Session
AccountProxyTest.php file core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php
AccountProxyTest::testId function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @covers ::id[[api-linebreak]]
@covers ::setInitialAccountId[[api-linebreak]]
AccountProxyTest::testSetInitialAccountIdException function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @covers ::setInitialAccountId[[api-linebreak]]
AccountSetEvent class core/lib/Drupal/Core/Session/AccountSetEvent.php Event fired when an account is set for the current session.
AccountSetEvent.php file core/lib/Drupal/Core/Session/AccountSetEvent.php
AccountSetEvent::$account property core/lib/Drupal/Core/Session/AccountSetEvent.php The set account.
AccountSetEvent::getAccount function core/lib/Drupal/Core/Session/AccountSetEvent.php Gets the account.
AccountSetEvent::__construct function core/lib/Drupal/Core/Session/AccountSetEvent.php AccountSetEvent constructor.
AccountSettingsForm class core/modules/user/src/AccountSettingsForm.php Configure user settings for this site.
AccountSettingsForm.php file core/modules/user/src/AccountSettingsForm.php
AccountSettingsForm::$moduleHandler property core/modules/user/src/AccountSettingsForm.php The module handler.
AccountSettingsForm::$roleStorage property core/modules/user/src/AccountSettingsForm.php The role storage used when changing the admin role.
AccountSettingsForm::buildForm function core/modules/user/src/AccountSettingsForm.php Form constructor.
AccountSettingsForm::create function core/modules/user/src/AccountSettingsForm.php Instantiates a new instance of this class.
AccountSettingsForm::getEditableConfigNames function core/modules/user/src/AccountSettingsForm.php Gets the configuration names that will be editable.
AccountSettingsForm::getFormId function core/modules/user/src/AccountSettingsForm.php Returns a unique string identifying the form.
AccountSettingsForm::submitForm function core/modules/user/src/AccountSettingsForm.php Form submission handler.
AccountSettingsForm::__construct function core/modules/user/src/AccountSettingsForm.php Constructs a \Drupal\user\AccountSettingsForm object.
AccountSwitcher class core/lib/Drupal/Core/Session/AccountSwitcher.php An implementation of AccountSwitcherInterface.
AccountSwitcher.php file core/lib/Drupal/Core/Session/AccountSwitcher.php
AccountSwitcher::$accountStack property core/lib/Drupal/Core/Session/AccountSwitcher.php A stack of previous overridden accounts.
AccountSwitcher::$currentUser property core/lib/Drupal/Core/Session/AccountSwitcher.php The current user service.
AccountSwitcher::$originalSessionSaving property core/lib/Drupal/Core/Session/AccountSwitcher.php The original state of session saving prior to account switching.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.