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
Sql::messageCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Returns the number of messages saved.
Sql::processedCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Returns the number of processed items in the map.
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 Returns a count of items which are marked as needing update.
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 Returns available fields on the source.
SqlCountCache::getIds function core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php Defines the source fields uniquely identifying a source row.
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.
StatementInterface::rowCount function core/lib/Drupal/Core/Database/StatementInterface.php Returns the number of rows matched by the last SQL statement.
StatementPrefetch::$resultRowCount property core/lib/Drupal/Core/Database/StatementPrefetch.php The number of rows in this result set.
StatementPrefetch::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetch.php The number of rows matched by the last query.
StatementPrefetch::$rowCountEnabled property core/lib/Drupal/Core/Database/StatementPrefetch.php Is rowCount() execution allowed.
StatementPrefetch::rowCount function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetchIterator::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The number of rows matched by the last query.
StatementPrefetchIterator::rowCount function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
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.
StatementWrapper::$rowCountEnabled property core/lib/Drupal/Core/Database/StatementWrapper.php Is rowCount() execution allowed.
StatementWrapper::rowCount function core/lib/Drupal/Core/Database/StatementWrapper.php
StatementWrapperIterator::rowCount function core/lib/Drupal/Core/Database/StatementWrapperIterator.php
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 #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 Whether this instance should cache the source count.
StubSourceGeneratorPlugin::$skipCount property core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Whether this instance should not attempt to count the source.
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.