Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AccountPermissionsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Returns the string representation of the cache context.
AccountPermissionsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Returns the label of the cache context.
AccountPermissionsCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Constructs a new UserCacheContext service.
AccountProxy class core/lib/Drupal/Core/Session/AccountProxy.php A proxied implementation of AccountInterface.
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::hasRole function core/lib/Drupal/Core/Session/AccountProxy.php Whether a user has a certain role.
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
@group Session
AccountProxyTest.php file core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php
AccountProxyTest::testHasRole function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @covers ::hasRole
AccountProxyTest::testId function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @covers ::id
@covers ::setInitialAccountId
AccountProxyTest::testSetInitialAccountIdException function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @covers ::setInitialAccountId
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::__construct function core/modules/user/src/AccountSettingsForm.php Constructs a \Drupal\user\AccountSettingsForm object.

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