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
FieldCounterTest::testSimple function core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php
FieldDataCountTest class core/modules/field/tests/src/Kernel/FieldDataCountTest.php Tests the count of field data records.
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::doCount function core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php Gets the source count using countQuery().
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.
FilePathTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Gets the expected number of entities per entity type after migration.
FilePathTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php Gets expected number of entities per entity after incremental migration.
FileWidget::validateMultipleCount function core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php Validates the number of uploaded files.
FilterTest::$account property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php The account.
FilterTest::waitForVisibleElementCount function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/FilterTest.php Waits for the specified number of items to be visible.
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/src/Plugin/Search/HelpSearch.php The Drupal account to use for checking for access to search.
HelpTopicSearchTest::assertSearchResultsCount function core/modules/help/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
HTMLRestrictionsTest::providerCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::testCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::allowsNothing
@covers ::getAllowedElements
@dataProvider providerCounting
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.
InlineBlockTest::assertBlockRevisionCountByTitle function core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTest.php Assert the number of block content revisions by the block title.
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
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
LazyRouteCollection::count function core/lib/Drupal/Core/Routing/LazyRouteCollection.php Gets the number of Routes in this collection.
LazyRouteCollectionTest::testCount function core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @covers ::count
LinearHistory::count function core/lib/Drupal/Core/Config/Checkpoint/LinearHistory.php
LinksetControllerMultiLingualTest::$authorAccount property core/modules/system/tests/src/Functional/Menu/LinksetControllerMultiLingualTest.php A user account to author test content.
LinksetControllerTest::$authorAccount property core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php A user account to author test content.

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