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 11.x for count
  5. Other projects
Title Object type File name Summary
LinksetControllerTest::testUserAccountMenu function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Tests that the user account menu behaves as it should.
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
LocaleProjectStorageInterface::countProjects function core/modules/locale/src/LocaleProjectStorageInterface.php Returns the count of project records.
locale_test_countries_alter function core/modules/locale/tests/modules/locale_test/locale_test.module Implements hook_countries_alter().
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
MemoryCounterBackendFactory::__construct function core/lib/Drupal/Core/Cache/MemoryCounterBackendFactory.php Constructs a MemoryCounterBackendFactory object.
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
MenuLinkManagerInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Counts the total number of menu links.
MenuLinksetSettingsFormTest::$adminAccount property core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php A user account to modify the menu linkset settings form.
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
MenuTreeStorageInterface::countMenuLinks function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Counts the total number of menu links in one menu or all menus.
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.
MigrateIdMapInterface::importedCount function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Returns the number of imported items in the map.
MigrateIdMapInterface::messageCount function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Returns the number of messages saved.
MigrateIdMapInterface::processedCount function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Returns the number of processed items in the map.
MigrateIdMapInterface::updateCount function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Returns a count of items which are marked as needing update.
MigrateMessageControllerTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php Gets the expected number of entities per entity type after migration.
MigrateMessageControllerTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/MigrateMessageControllerTest.php Gets expected number of entities per entity after incremental migration.
MigrateMessageFormTest::getLevelCounts function core/modules/migrate/tests/src/Functional/MigrateMessageFormTest.php Gets the count of migration messages by level.
MigrateNodeCounterTest class core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php Tests the migration of node counter data to Drupal 8.
MigrateNodeCounterTest class core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php Tests the migration of node counter data to Drupal 8.
MigrateNodeCounterTest.php file core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php
MigrateNodeCounterTest.php file core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateNodeCounterTest.php
MigrateNodeCounterTest::$modules property core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateNodeCounterTest.php Modules to install.

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