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
AccountSwitcher::switchTo function core/lib/Drupal/Core/Session/AccountSwitcher.php
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
AddFormBase::getSelectedMediaItemCount function core/modules/media_library/src/Form/AddFormBase.php Get the number of selected media.
AdminAccountSwitcher class core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php @internal
This API is experimental.
AdminAccountSwitcher.php file core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcher::switchBack function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcher::switchTo function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcher::switchToAdministrator function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php Switches to an administrative account.
AdminAccountSwitcher::__construct function core/lib/Drupal/Core/DefaultContent/AdminAccountSwitcher.php
AdminAccountSwitcherTest class core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php @covers \Drupal\Core\DefaultContent\AdminAccountSwitcher
@group DefaultContent
AdminAccountSwitcherTest.php file core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::$modules property core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::register function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::setUp function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::testNoAdministratorsExist function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests that there is an error if there are no administrative users.
AdminAccountSwitcherTest::testSuperUser function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to user 1 when the superuser access policy is enabled.
AdminAccountSwitcherTest::testSwitchToAdministrator function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to a user with an administrative role.
AdminAccountSwitcherTest::testSwitchToAndSwitchBack function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
ArgumentPluginBase::$count_alias property core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
ArgumentValidateTest::$account property core/modules/user/tests/src/Kernel/Views/ArgumentValidateTest.php A user for this test.
AttributeTest::getXPathResultCount function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Counts the occurrences of the given XPath query in a given HTML snippet.
AuditResult::count function core/modules/migrate/src/Audit/AuditResult.php Implements \Countable::count() for Twig template compatibility.
AuthenticationSubscriber::$accountProxy property core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php Account proxy.
BigPipeRegressionTestController::PLACEHOLDER_COUNT constant core/modules/big_pipe/tests/modules/big_pipe_regression_test/src/BigPipeRegressionTestController.php
BigPipeTestController::counter function core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php #lazy_builder callback; returns the current count.
block.block.olivero_account_menu.yml file core/themes/olivero/config/optional/block.block.olivero_account_menu.yml core/themes/olivero/config/optional/block.block.olivero_account_menu.yml
block.block.testing_theme_required_blocks_account_menu.yml file core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml core/profiles/testing_themes_blocks/themes/testing_theme_required_blocks/config/install/block.block.testing_theme_required_blocks_account_menu.yml
block.block.umami_account_menu.yml file core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml core/profiles/demo_umami/config/install/block.block.umami_account_menu.yml
BlockComponentRenderArrayTest::$account property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The current user.
BlockContentBlock::$account property core/modules/block_content/src/Plugin/Block/BlockContentBlock.php The Drupal account to use for checking for access to block.
BlockContentFieldFilterTest::assertPageCounts function core/modules/block_content/tests/src/Functional/Views/BlockContentFieldFilterTest.php Asserts that the given block_content translation counts are correct.
BookBreadcrumbBuilder::$account property core/modules/book/src/BookBreadcrumbBuilder.php The current user account.
BookOutlineStorage::countOriginalLinkChildren function core/modules/book/src/BookOutlineStorage.php
BookOutlineStorageInterface::countOriginalLinkChildren function core/modules/book/src/BookOutlineStorageInterface.php Count the number of original link children.
Broken::countReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/Broken.php
BrowserHtmlDebugTrait::$htmlOutputCounter property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Counter for HTML output logging.
BrowserHtmlDebugTrait::$htmlOutputCounterStorage property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Counter storage for HTML output logging.
CacheableEmbeddedDataSource::count function core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php
CacheableEmbeddedDataSource::doCount function core/modules/migrate/tests/modules/migrate_cache_counts_test/src/Plugin/migrate/source/CacheableEmbeddedDataSource.php
CacheTagsChecksumTrait::getTagInvalidationCounts function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Fetches invalidation counts for cache tags.
CKEditor5FragmentLinkTest::$account property core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5FragmentLinkTest.php The admin user.
CommentFieldFilterTest::assertPageCounts function core/modules/comment/tests/src/Functional/Views/CommentFieldFilterTest.php Asserts that the given comment translation counts are correct.
CommentManager::getCountNewComments function core/modules/comment/src/CommentManager.php

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