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
SourceProviderTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
SourceProviderTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php
Sql::$count_field property core/modules/views/src/Plugin/views/query/Sql.php
Sql::$getCountOptimized property core/modules/views/src/Plugin/views/query/Sql.php Should this query be optimized for counts, for example no sorts.
Sql::countHelper function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Counts records in a table.
Sql::errorCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sql::importedCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sql::messageCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sql::processedCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sql::setCountField function core/modules/views/src/Plugin/views/query/Sql.php Set what field the query will count() on for paging.
Sql::updateCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
SqlBase::doCount function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Gets the source count using countQuery().
SqlContentEntityStorage::countFieldData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
SqlCountCache class core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php Source plugin for Sql count cache test.
SqlCountCache.php file core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php
SqlCountCache::fields function core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php
SqlCountCache::getIds function core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php
SqlCountCache::query function core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php
StandardJavascriptTest::assertBigPipePlaceholderReplacementCount function core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php Asserts the number of BigPipe placeholders that are replaced on the page.
StatementBase::rowCount function core/lib/Drupal/Core/Database/Statement/StatementBase.php
StatementInterface::rowCount function core/lib/Drupal/Core/Database/StatementInterface.php Returns the number of rows matched by the last SQL statement.
StatementPrefetchIterator::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The number of rows matched by the last query.
StatementTest::testEmptyStatementCountTwice function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement with no results counting twice.
StatementTest::testStatementCountTwice function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests counting a statement twice.
StatisticsLoggingTest::getStatisticsCounter function core/modules/statistics/tests/src/FunctionalJavascript/StatisticsLoggingTest.php Gets counter of views by path.
StatisticsStorageInterface::maxTotalCount function core/modules/statistics/src/StatisticsStorageInterface.php Returns the highest 'totalcount' value.
StatisticsStorageInterface::resetDayCount function core/modules/statistics/src/StatisticsStorageInterface.php Reset the day counter for all entities once every day.
StatisticsViewsResult::$dayCount property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::$totalCount property core/modules/statistics/src/StatisticsViewsResult.php
StatisticsViewsResult::getDayCount function core/modules/statistics/src/StatisticsViewsResult.php Total number of times the entity has been viewed "today".
StatisticsViewsResult::getTotalCount function core/modules/statistics/src/StatisticsViewsResult.php Total number of times the entity has been viewed.
StatisticsViewsResultTest::providerTestStatisticsCount function core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php
StatisticsViewsResultTest::testStatisticsCount function core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php Tests migration of node counter.
statistics_node_counter.yml file core/modules/statistics/migrations/statistics_node_counter.yml core/modules/statistics/migrations/statistics_node_counter.yml
statistics_node_translation_counter.yml file core/modules/statistics/migrations/statistics_node_translation_counter.yml core/modules/statistics/migrations/statistics_node_translation_counter.yml
status-report-counter.html.twig file core/themes/stable9/templates/admin/status-report-counter.html.twig Theme override for the status report counter.
status-report-counter.html.twig file core/themes/claro/templates/status-report-counter.html.twig Theme override for status report counter.
status-report-counter.html.twig file core/modules/system/templates/status-report-counter.html.twig Default theme implementation for the status report counter.
StatusReportPage::preRenderCounters function core/modules/system/src/Element/StatusReportPage.php The #pre_render callback to create counter elements.
StatusTest::testErrorElementCount function core/modules/system/tests/src/Functional/System/StatusTest.php Tests that the Error counter matches the displayed number of errors.
StatusTest::testWarningElementCount function core/modules/system/tests/src/Functional/System/StatusTest.php Tests that the Warning counter matches the displayed number of warnings.
StringDatabaseStorage::countStrings function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringStorageInterface::countStrings function core/modules/locale/src/StringStorageInterface.php Counts source strings.
StringStorageInterface::countTranslations function core/modules/locale/src/StringStorageInterface.php Counts translations.
StubSourceGeneratorPlugin::$cacheCounts property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
StubSourceGeneratorPlugin::$skipCount property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
StubSourceGeneratorPlugin::getCacheCounts function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Return the cacheCounts value.
StubSourceGeneratorPlugin::getSkipCount function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Return the skipCount value.
system-status-counter.css file core/themes/stable9/css/system/components/system-status-counter.css Styles for the system status counter component.

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