Search for count

  1. Search 7.x for count
  2. Search 8.9.x for count
  3. Search 10.3.x for count
  4. Search 11.x for count
  5. Other projects
Title Object type File name Summary
IdConflictTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php Gets expected number of entities per entity after incremental migration.
IdConflictTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php Gets expected number of entities per entity after incremental migration.
ImageAdminStylesTest::getImageCount function core/modules/image/tests/src/Functional/ImageAdminStylesTest.php Count the number of images currently create for a style.
ImageStyleFlushTest::getImageCount function core/modules/image/tests/src/Functional/ImageStyleFlushTest.php Count the number of images currently created for a style in a wrapper.
InlineBlockTest::assertBlockRevisionCountByTitle function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Assert the number of block content revisions by the block title.
InsertTrait::count function core/lib/Drupal/Core/Database/Query/InsertTrait.php
IntegrationTest::testNodeCounterIntegration function core/modules/statistics/tests/src/Functional/Views/IntegrationTest.php Tests the integration of the {node_counter} table in views.
ItemList::count function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
ItemStorage::getItemCount function core/modules/aggregator/src/ItemStorage.php Returns the count of the items in a feed.
ItemStorageInterface::getItemCount function core/modules/aggregator/src/ItemStorageInterface.php Returns the count of the items in a feed.
jsonapi_test_collection_count.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.info.yml
jsonapi_test_collection_count.services.yml file core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.services.yml core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.services.yml
LazyPluginCollection::count function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php
LazyRouteCollection::count function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Gets the number of Routes in this collection.
LazyRouteCollectionTest::testCount function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @covers ::count
LocalActionManager::$account property core/lib/Drupal/Core/Menu/LocalActionManager.php The current user.
LocalActionManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php The mocked account.
LocaleProjectStorage::countProjects function core/modules/locale/src/LocaleProjectStorage.php Returns the count of project records.
LocaleProjectStorageInterface::countProjects function core/modules/locale/src/LocaleProjectStorageInterface.php Returns the count of project records.
LocalTaskManager::$account property core/lib/Drupal/Core/Menu/LocalTaskManager.php The current user.
LocalTaskManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php The mocked account.
MaintenanceModeSubscriber::$account property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php The current account.
MaintenanceModeSubscriber::$account property core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php The current account.
MarkupTrait::count function core/lib/Drupal/Component/Render/MarkupTrait.php Returns the string length.
MediaLibraryTestBase::assertSelectedMediaCount function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Asserts the current text of the selected item counter.
MediaLibraryTestBase::waitForElementsCount function core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php Checks for a specified number of specific elements on page after wait.
MediaRevisionTest::assertRevisionCount function core/modules/media/tests/src/Functional/MediaRevisionTest.php Asserts that an entity has a certain number of revisions.
MemoryCounterBackend class core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Defines a memory cache implementation that counts set and get calls.
MemoryCounterBackend.php file core/lib/Drupal/Core/Cache/MemoryCounterBackend.php
MemoryCounterBackend::$counter property core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Stores a list of cache cid calls keyed by function name.
MemoryCounterBackend::delete function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Deletes an item from the cache.
MemoryCounterBackend::get function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Returns data from the persistent cache.
MemoryCounterBackend::getCounter function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Returns the call counter for the get, set and delete methods.
MemoryCounterBackend::increaseCounter function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Increase the counter for a function with a certain cid.
MemoryCounterBackend::resetCounter function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Resets the call counter.
MemoryCounterBackend::set function core/lib/Drupal/Core/Cache/MemoryCounterBackend.php Stores data in the persistent cache.
MemoryCounterBackendFactory class core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php
MemoryCounterBackendFactory.php file core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php
MemoryCounterBackendFactory::$bins property core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php Instantiated memory cache bins.
MemoryCounterBackendFactory::get function core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php Gets a cache backend class for a given cache bin.
menu-account.css file core/profiles/demo_umami/themes/umami/css/components/navigation/menu-account/menu-account.css This file is used to style the account menu.
MenuLinkManager::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManager.php Counts the total number of menu links.
MenuLinkManagerInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Counts the total number of menu links.
MenuLinkTreeElement::count function core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Counts all menu links in the current subtree.
MenuLinkTreeElementTest::testCount function core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php Tests count().
MenuTreeStorage::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Counts the total number of menu links in one menu or all menus.
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
MigrateEntityContentBaseTest::testAccountSwitcherBackwardsCompatibility function core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php Test BC injection of account switcher service.
MigrateExecutable::$counts property core/modules/migrate/src/MigrateExecutable.php An array of counts. Initially used for cache hit/miss tracking.
MigrateIdMapInterface::errorCount function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Returns the number of items that failed to import.

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