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 10.3.x for count
  5. Other projects
Title Object type File name Summary
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.
LinksetControllerTest::testUserAccountMenu function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Tests that the user account menu behaves as it should.
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
LocaleProjectStorageInterface::countProjects function core/modules/locale/src/LocaleProjectStorageInterface.php Returns the count of project records.
locale_test_countries_alter function core/modules/locale/tests/modules/locale_test/locale_test.module Implements hook_countries_alter().
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.

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