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
FieldCounterTest::testSimple function core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
FieldDataCountTest class core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests counting field data records and the hasData() method on
FieldStorageConfig entity.
FieldDataCountTest.php file core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storage property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageRev property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::$storageUser property core/modules/field/tests/src/Kernel/FieldDataCountTest.php
FieldDataCountTest::setUp function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Set the default field storage backend for fields created during tests.
FieldDataCountTest::testCountWithIndex0 function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Verify that we can count a table that contains an entry with index 0.
FieldDataCountTest::testEntityCountAndHasData function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests entityCount() and hadData() methods.
FieldInstance::count function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php Gets the source count.
FieldTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FieldTest.php The account.
FieldTestItem::$counter property core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php Counts how many times all items of this type are saved.
FieldUITest::$account property core/modules/field/tests/src/Functional/Views/FieldUITest.php A user with the 'administer views' permission.
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Form element validation callback for upload element on file widget. Checks
if user has uploaded more files than allowed.
FormattableMarkup::count function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns the string length.
FormattableMarkupTest::testCount function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::count
FormCacheTest::$account property core/tests/Drupal/Tests/Core/Form/FormCacheTest.php The current user.
FormTestBase::$account property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The current user.
GeneratedLink::count function core/lib/Drupal/Core/GeneratedLink.php
GroupedExposedFilterTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/GroupedExposedFilterTest.php The account.
HandlerFilterUserNameTest::$accounts property core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php Accounts used by this test.
HelpSearch::$account property core/modules/help_topics/src/Plugin/Search/HelpSearch.php The Drupal account to use for checking for access to search.
HelpTopicSearchTest::assertSearchResultsCount function core/modules/help_topics/tests/src/Functional/HelpTopicSearchTest.php Asserts that help search returned the expected number of results.
hook_countries_alter function core/core.api.php Alter the default country list.
HtmlEscapedText::count function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedTextTest::testCount function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::count
IdConflictTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php Gets the expected number of entities per entity type after migration.
IdConflictTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php Gets the expected number of entities per entity type after migration.
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.
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
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.

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