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
SearchCommentCountToggleTest::setUp function core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
SearchCommentCountToggleTest::testSearchCommentCountToggle function core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php Verify that comment count display toggles properly on comment status of node.
SearchEmbedFormTest::$submitCount property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Count of how many times the form has been submitted.
SearchMultilingualEntityTest::assertDatabaseCounts function core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php Checks actual database counts of items in the search index.
SearchMultilingualEntityTest::assertIndexCounts function core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php Verifies the indexing status counts.
SearchPage::doCount function core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php Gets the source count using countQuery().
SearchQuery::$relevance_count property core/modules/search/src/SearchQuery.php
SearchQuery::countQuery function core/modules/search/src/SearchQuery.php Builds the default count query for SearchQuery.
SectionListTrait::count function core/modules/layout_builder/src/SectionListTrait.php
SectionRenderTest::$account property core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php The current user.
SectionStorageBase::count function core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php
Select::countQuery function core/lib/Drupal/Core/Database/Query/Select.php Get the equivalent COUNT query of this query as a new query object.
Select::prepareCountQuery function core/lib/Drupal/Core/Database/Query/Select.php Prepares a count query from the current query object.
SelectComplexTest::testCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a built query.
SelectComplexTest::testCountQueryDistinct function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with distinct.
SelectComplexTest::testCountQueryFieldRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery properly removes fields and expressions.
SelectComplexTest::testCountQueryGroupBy function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with GROUP BY.
SelectComplexTest::testCountQueryRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery removes 'all_fields' statements and ordering clauses.
SelectComplexTest::testHavingCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests having queries.
SelectComplexTest::testSelectWithRowCount function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that rowCount() throws exception on SELECT query.
SelectExtender::countQuery function core/lib/Drupal/Core/Database/Query/SelectExtender.php Get the equivalent COUNT query of this query as a new query object.
SelectInterface::countQuery function core/lib/Drupal/Core/Database/Query/SelectInterface.php Get the equivalent COUNT query of this query as a new query object.
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
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

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