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
CommentManager::getCountNewComments function core/modules/comment/src/CommentManager.php
CommentManagerInterface::getCountNewComments function core/modules/comment/src/CommentManagerInterface.php Returns the number of new comments available on a given entity for a user.
CommentSelection::countReferenceableEntities function core/modules/comment/src/Plugin/EntityReferenceSelection/CommentSelection.php Counts entities that are referenceable.
CommentStatistics::getMaximumCount function core/modules/comment/src/CommentStatistics.php
CommentStatisticsInterface::getMaximumCount function core/modules/comment/src/CommentStatisticsInterface.php Find the maximum number of comments for the given entity type.
CommentStorage::getUnapprovedCount function core/modules/comment/src/CommentStorage.php Returns the number of unapproved comments.
CommentStorageInterface::getUnapprovedCount function core/modules/comment/src/CommentStorageInterface.php Returns the number of unapproved comments.
CommentTestBase::$account property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A normal user with permission to post comments (without approval).
CommentTestBase::$account2 property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A second normal user that will author a node for $account to comment on.
ComputedItemListTrait::count function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php
Condition::count function core/lib/Drupal/Core/Database/Query/Condition.php Implements Countable::count().
ConditionFundamentals::count function core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php
ConditionInterface::count function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Implements \Countable::count().
ConfigEntityQueryTest::testCount function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Tests count query.
ConfigImporterTest::testUninstallThemeIncrementsCount function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that uninstall a theme in config import correctly imports all config.
ConfigTranslationController::$account property core/modules/config_translation/src/Controller/ConfigTranslationController.php The current user.
ConfigTranslationUiTest::testAccountSettingsConfigurationTranslation function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests the account settings translation interface.
ConfigValidation::validateCatCount function core/modules/config/tests/config_test/src/ConfigValidation.php Validates a number.
ConnectionTest::testIdentifierQuotesAssertCount function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
ContentEntity::count function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php Gets the source count.
ContentEntity::doCount function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php Gets the source count.
ContentEntityNormalizerTest::testNormalizeWithAccountContext function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php Tests the normalize() method with account context passed.
ContentEntityNullStorage::countFieldData function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php
ContentTranslationPendingRevisionTestBase::$currentAccount property core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php The current test account.
ContentTranslationSettingsTest::testAccountLanguageSettingsUI function core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php Tests the language settings checkbox on account settings page.
ContextualLinkManager::$account property core/lib/Drupal/Core/Menu/ContextualLinkManager.php The current user.
ContextualLinkManagerTest::$account property core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php The mocked account.
count.jsonapi.resource_type.repository service core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/jsonapi_test_collection_count.services.yml Drupal\jsonapi_test_collection_count\ResourceType\CountableResourceTypeRepository
CountableResourceType class core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php Subclass with overridden ::includeCount() for testing purposes.
CountableResourceType.php file core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php
CountableResourceType::includeCount function core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php Determine whether to include a collection count.
CountableResourceTypeRepository class core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php Provides a repository of JSON:API configurable resource types.
CountableResourceTypeRepository.php file core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php
CountableResourceTypeRepository::createResourceType function core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php Creates a ResourceType value object for the given entity type + bundle.
CountConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php Count constraint.
CountConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CountConstraint::validatedBy function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php @todo Add method return type declaration.
CountConstraint::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
Counter class core/modules/views/src/Plugin/views/field/Counter.php Field handler to show a counter of the current row.
Counter.php file core/modules/views/src/Plugin/views/field/Counter.php
Counter::buildOptionsForm function core/modules/views/src/Plugin/views/field/Counter.php Default option form that provides label widget that all fields should have.
Counter::defineOptions function core/modules/views/src/Plugin/views/field/Counter.php Information about options for all kinds of purposes will be held here.
Counter::getValue function core/modules/views/src/Plugin/views/field/Counter.php Gets the value that's supposed to be rendered.
Counter::query function core/modules/views/src/Plugin/views/field/Counter.php Called to add the field to a query.
Counter::usesGroupBy function core/modules/views/src/Plugin/views/field/Counter.php Provides the handler some groupby.
CounterTest class core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php @coversDefaultClass \Drupal\views\Plugin\views\field\Counter
@group views
CounterTest.php file core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php
CounterTest::$definition property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php The handler definition of the counter field.
CounterTest::$display property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php The display plugin instance.
CounterTest::$pager property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php The pager plugin instance.

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