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
SelectionInterface::countReferenceableEntities function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php Counts entities that are referenceable.
SelectTest::testInvalidSelectCount function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that an invalid count query throws an exception.
SelectTest::testUnionCount function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can get a count query for a UNION Select query.
ShortcutSetStorage::countAssignedUsers function core/modules/shortcut/src/ShortcutSetStorage.php Get the number of users who have this set assigned to them.
ShortcutSetStorageInterface::countAssignedUsers function core/modules/shortcut/src/ShortcutSetStorageInterface.php Get the number of users who have this set assigned to them.
Some::useCountQuery function core/modules/views/src/Plugin/views/pager/Some.php Determine if a pager needs a count query.
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 The count field definition.
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 Determines the number of entities with values for a given field.
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.
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.
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.