Search for count

  1. Search 7.x for count
  2. Search 9.5.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
ConfigValidation::validateCatCount function core/modules/config/tests/config_test/src/ConfigValidation.php Validates a number.
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 checking if the source is countable or using the
iterator_count function.
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::$exactMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CountConstraint::$maxMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CountConstraint::$minMessage property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/CountConstraint.php
CountConstraint::validatedBy 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 options form that provides the 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.
CounterTest::$testData property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Stores the test data.
CounterTest::$view property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php The view executable.
CounterTest::providerRowIndexes function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Provides some row index to test.
CounterTest::renderCounter function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Renders the counter field handler.
CounterTest::setUp function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php
CounterTest::testCounterRandomPagerOffset function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Tests a counter field with a random pager offset.
CounterTest::testCounterRandomStart function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Tests a counter with a random start.
CounterTest::testCounterSecondPage function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Tests a counter field on the second page.
CounterTest::testSimpleCounter function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Tests a simple counter field.
CountryManager class core/lib/Drupal/Core/Locale/CountryManager.php Provides list of countries.
CountryManager.php file core/lib/Drupal/Core/Locale/CountryManager.php
CountryManager::$countries property core/lib/Drupal/Core/Locale/CountryManager.php An array of country code => country name pairs.
CountryManager::$moduleHandler property core/lib/Drupal/Core/Locale/CountryManager.php The module handler service.
CountryManager::getList function core/lib/Drupal/Core/Locale/CountryManager.php Get an array of country code => country name pairs, altered by alter hooks.
CountryManager::getStandardList function core/lib/Drupal/Core/Locale/CountryManager.php Get an array of all two-letter country code => country name pairs.
CountryManager::__construct function core/lib/Drupal/Core/Locale/CountryManager.php Constructor.

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