Search for count

  1. Search 7.x for count
  2. Search 9.5.x for count
  3. Search 8.9.x for count
  4. Search 10.3.x for count
  5. Other projects
Title Object type File name Summary
AccessAwareRouter::$account property core/lib/Drupal/Core/Routing/AccessAwareRouter.php The account to use in access checks.
AccessDeniedSubscriber::$account property core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php The current user.
AccessibleTestingTrait::$account property core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php The test account.
AccessManagerTest::$account property core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php The mocked account.
AccessManagerTest::testCheckWithNullAccount function core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php Tests \Drupal\Core\Access\AccessManager::check() with no account specified.
AccessPolicyProcessorTest::accountSwitcherProvider function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Data provider for testAccountSwitcher().
AccessPolicyProcessorTest::testAccountSwitcher function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests if the account switcher switches properly when user cache context is present.
AccountEvents class core/lib/Drupal/Core/Session/AccountEvents.php Defines events for the account system.
AccountEvents.php file core/lib/Drupal/Core/Session/AccountEvents.php
AccountEvents::SET_USER constant core/lib/Drupal/Core/Session/AccountEvents.php Name of the event fired when the current user is set.
AccountForm class core/modules/user/src/AccountForm.php Form controller for the user account forms.
AccountForm.php file core/modules/user/src/AccountForm.php
AccountForm::$languageManager property core/modules/user/src/AccountForm.php The language manager.
AccountForm::alterPreferredLangcodeDescription function core/modules/user/src/AccountForm.php Alters the preferred language widget description.
AccountForm::buildEntity function core/modules/user/src/AccountForm.php Builds an updated entity object based upon the submitted form values.
AccountForm::create function core/modules/user/src/AccountForm.php Instantiates a new instance of this class.
AccountForm::flagViolations function core/modules/user/src/AccountForm.php Flags violations for the current form.
AccountForm::form function core/modules/user/src/AccountForm.php Gets the actual form array to be built.
AccountForm::getEditedFieldNames function core/modules/user/src/AccountForm.php Gets the names of all fields edited in the form.
AccountForm::submitForm function core/modules/user/src/AccountForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
AccountForm::syncUserLangcode function core/modules/user/src/AccountForm.php Synchronizes preferred language and entity language.
AccountForm::trustedCallbacks function core/modules/user/src/AccountForm.php Lists the trusted callbacks provided by the implementing class.
AccountForm::__construct function core/modules/user/src/AccountForm.php Constructs a new EntityForm object.
AccountInterface interface core/lib/Drupal/Core/Session/AccountInterface.php Defines an account interface which represents the current user.
AccountInterface.php file core/lib/Drupal/Core/Session/AccountInterface.php
AccountInterface::ANONYMOUS_ROLE constant core/lib/Drupal/Core/Session/AccountInterface.php Role ID for anonymous users.
AccountInterface::AUTHENTICATED_ROLE constant core/lib/Drupal/Core/Session/AccountInterface.php Role ID for authenticated users.
AccountInterface::getAccountName function core/lib/Drupal/Core/Session/AccountInterface.php Returns the unaltered login name of this account.
AccountInterface::getDisplayName function core/lib/Drupal/Core/Session/AccountInterface.php Returns the display name of this account.
AccountInterface::getEmail function core/lib/Drupal/Core/Session/AccountInterface.php Returns the email address of this account.
AccountInterface::getLastAccessedTime function core/lib/Drupal/Core/Session/AccountInterface.php The timestamp when the account last accessed the site.
AccountInterface::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred administrative language code of the account.
AccountInterface::getPreferredLangcode function core/lib/Drupal/Core/Session/AccountInterface.php Returns the preferred language code of the account.
AccountInterface::getRoles function core/lib/Drupal/Core/Session/AccountInterface.php Returns a list of roles.
AccountInterface::getTimeZone function core/lib/Drupal/Core/Session/AccountInterface.php Returns the timezone of this account.
AccountInterface::hasPermission function core/lib/Drupal/Core/Session/AccountInterface.php Checks whether a user has a certain permission.
AccountInterface::id function core/lib/Drupal/Core/Session/AccountInterface.php Returns the user ID or 0 for anonymous.
AccountInterface::isAnonymous function core/lib/Drupal/Core/Session/AccountInterface.php Returns TRUE if the account is anonymous.
AccountInterface::isAuthenticated function core/lib/Drupal/Core/Session/AccountInterface.php Returns TRUE if the account is authenticated.
AccountPermissionsCacheContext class core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Defines the AccountPermissionsCacheContext service, for "per permission" caching.
AccountPermissionsCacheContext.php file core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php
AccountPermissionsCacheContext::$permissionsHashGenerator property core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php The permissions hash generator.
AccountPermissionsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php Gets the cacheability metadata for the context.
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.

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