Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Other projects
Title Object type File name Summary
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::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::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 Tests Drupal\Core\Session\AccountProxy.
AccountProxyTest.php file core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php
AccountProxyTest::testHasRole function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php Tests has role.
AccountProxyTest::testId function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php Tests id.
AccountProxyTest::testSetInitialAccountIdException function core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php Tests set initial account id exception.
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
AccountSettingsForm::create function core/modules/user/src/AccountSettingsForm.php
AccountSettingsForm::getEditableConfigNames function core/modules/user/src/AccountSettingsForm.php
AccountSettingsForm::getFormId function core/modules/user/src/AccountSettingsForm.php
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.
AccountSwitcher::$writeSafeHandler property core/lib/Drupal/Core/Session/AccountSwitcher.php The write-safe session handler.
AccountSwitcher::switchBack function core/lib/Drupal/Core/Session/AccountSwitcher.php Reverts to a previous account after switching.
AccountSwitcher::switchTo function core/lib/Drupal/Core/Session/AccountSwitcher.php Safely switches to another account.
AccountSwitcher::__construct function core/lib/Drupal/Core/Session/AccountSwitcher.php Constructs a new AccountSwitcher.
AccountSwitcherInterface interface core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Defines an interface for a service for safe account switching.
AccountSwitcherInterface.php file core/lib/Drupal/Core/Session/AccountSwitcherInterface.php
AccountSwitcherInterface::switchBack function core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Reverts to a previous account after switching.
AccountSwitcherInterface::switchTo function core/lib/Drupal/Core/Session/AccountSwitcherInterface.php Safely switches to another account.
AccountSwitcherTest class core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php Test case for account switching.
AccountSwitcherTest.php file core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php
AccountSwitcherTest::testAccountSwitching function core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php Tests the account switching, switching to and switching back.
AccountTakeoverGadgetChainTest class core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php Tests protection against SA-CORE-2024-007 Gadget Chain.
AccountTakeoverGadgetChainTest.php file core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php
AccountTakeoverGadgetChainTest::$modules property core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php
AccountTakeoverGadgetChainTest::setUp function core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php
AccountTakeoverGadgetChainTest::testAccountTakeoverGadgetChain function core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php Tests unserializing a SQLi / account takeover payload.

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