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
DefaultMenuLinkTreeManipulators::$account property core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php The current user.
DefaultSelection::countReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php Counts entities that are referenceable.
DeleteMultipleFormTest::$account property core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php The current user.
DeprecatedArray::count function core/lib/Drupal/Component/Utility/DeprecatedArray.php
DoubleSlashTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php Gets the expected number of entities per entity type after migration.
DoubleSlashTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php Gets expected number of entities per entity after incremental migration.
DriverSpecificSchemaTestBase::$counter property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php A global counter for table and field creation.
Drupal\Core\DefaultContent\AdminAccountSwitcher service core/core.services.yml
Drupal\Core\Locale\CountryManagerInterface service core/core.services.yml
Drupal\Core\Session\AccountInterface service core/core.services.yml
Drupal\Core\Session\AccountProxyInterface service core/core.services.yml
Drupal\Core\Session\AccountSwitcherInterface service core/core.services.yml
DummyQueryTrait::doCount function core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php
EditModeTest::getTabbableElementsCount function core/modules/contextual/tests/src/FunctionalJavascript/EditModeTest.php Gets the number of elements that are tabbable.
EmbeddedDataSource::count function core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php Gets the source count.
EmptySource::doCount function core/modules/migrate/src/Plugin/migrate/source/EmptySource.php Gets the source count.
EntityContentBase::$accountSwitcher property core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php The account switcher service.
EntityQueryRelationshipTest::$accounts property core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php User entities.
EntityQueryTest::testConditionCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that condition count returns expected number of conditions.
EntityQueryTest::testCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that count queries are separated across entity types.
EntityResource::getCollectionCountQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection count.
EntityRevisionTest::$accountSwitcher property core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php A mock account switcher.
EntityTestBundleClass::$postCreateCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postCreate() was called.
EntityTestBundleClass::$postDeleteCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postDelete() was called.
EntityTestBundleClass::$postLoadCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::postLoad() was called.
EntityTestBundleClass::$postLoadEntitiesCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The size of the $entities array passed to each invocation of postLoad().
EntityTestBundleClass::$preCreateCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::preCreate() was called.
EntityTestBundleClass::$preDeleteCount property core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php The number of times static::preDelete() was called.
EntityTranslationSettings::doCount function core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php Gets the source count using countQuery().
EntityType::$label_count property core/lib/Drupal/Core/Entity/EntityType.php
EntityType::getCountLabel function core/lib/Drupal/Core/Entity/EntityType.php Gets the label's definite article form for use with a count of entities.
EntityTypeInterface::getCountLabel function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the label's definite article form for use with a count of entities.
EntityTypeTest::testGetCountLabel function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCountLabel
EntityTypeTest::testGetCountLabelDefault function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::getCountLabel
FastTest::$account property core/modules/system/tests/src/Functional/Theme/FastTest.php User allowed to access use profiles.
FetchTest::testRowCount function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests that rowCount() throws exception on SELECT query.
FieldableEntityStorageInterface::countFieldData function core/lib/Drupal/Core/Entity/FieldableEntityStorageInterface.php Determines the number of entities with values for a given field.
FieldCounterTest class core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Tests the Drupal\views\Plugin\views\field\Counter handler.
FieldCounterTest class core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Tests the display of counter field.
FieldCounterTest.php file core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
FieldCounterTest.php file core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
FieldCounterTest::$defaultTheme property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The theme to install as the default for testing.
FieldCounterTest::$modules property core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Modules to install.
FieldCounterTest::$modules property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The modules that need to be installed for this test.
FieldCounterTest::$testViews property core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Views used by this test.
FieldCounterTest::$testViews property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php The views that are used by this test.
FieldCounterTest::$view property core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php
FieldCounterTest::setUp function core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Sets up the test.
FieldCounterTest::testExcludedTitleTokenDisplay function core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php Tests the display of an excluded title field when used as a token.
FieldCounterTest::testPager function core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php Tests the counter field when using a pager.

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