Search for count

  1. Search 7.x for count
  2. Search 9.5.x for count
  3. Search 10.3.x for count
  4. Search 11.x for count
  5. Other projects
Title Object type File name Summary
SearchCommentCountToggleTest::$modules property core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php Modules to enable.
SearchCommentCountToggleTest::$searchableNodes property core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php Array of nodes available to search.
SearchCommentCountToggleTest::$searchingUser property core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php A user with permission to search and post comments.
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::count function core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php Gets the source count.
SearchQuery::$relevance_count property core/modules/search/src/SearchQuery.php The number of 'i.relevance' occurrences in score expressions.
SearchQuery::countQuery function core/modules/search/src/SearchQuery.php Builds the default count query for SearchQuery.
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
SectionStorageTrait::count function core/modules/layout_builder/src/SectionStorage/SectionStorageTrait.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.
SiteConfigureForm::$countryManager property core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php The country manager.
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 checking if the source is countable or using the
iterator_count function.
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::count function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Gets the source count.
SqlContentEntityStorage::countFieldData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
StandardJavascriptTest::assertBigPipePlaceholderReplacementCount function core/profiles/standard/tests/src/FunctionalJavascript/StandardJavascriptTest.php Asserts the number of BigPipe placeholders that are replaced on the page.
Statement::$allowRowCount property core/lib/Drupal/Core/Database/Statement.php Is rowCount() execution allowed.
Statement::rowCount function core/lib/Drupal/Core/Database/Statement.php Returns the number of rows affected by the last SQL statement.
StatementEmpty::$allowRowCount property core/lib/Drupal/Core/Database/StatementEmpty.php Is rowCount() execution allowed.

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