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
SourcePluginBase::$cacheCounts property core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Whether this instance should cache the source count.
SourcePluginBase::$skipCount property core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Whether this instance should not attempt to count the source.
SourcePluginBase::count function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the source count.
SourcePluginBase::doCount function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the source count.
SourceProviderTest::getEntityCounts function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php Gets the expected number of entities per entity type after migration.
SourceProviderTest::getEntityCountsIncremental function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php Gets expected number of entities per entity after incremental migration.
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 Returns the number of items that failed to import.
Sql::importedCount function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Returns the number of imported items in the map.
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 Prepares query object to retrieve data from the source database.
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 Returns the number of rows matched by the last SQL statement.
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.
StatusReportPageTest::testPeRenderCounters function core/modules/system/tests/src/Kernel/Element/StatusReportPageTest.php Tests the status report page element.
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 Counts source strings.
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php Counts translations.
StringStorageInterface::countStrings function core/modules/locale/src/StringStorageInterface.php Counts source strings.
StringStorageInterface::countTranslations function core/modules/locale/src/StringStorageInterface.php Counts translations.

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