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
RowCountExceptionTest::DEFAULT_EXCEPTION_MESSAGE constant core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php The default exception message.
RowCountExceptionTest::providerTestExceptionMessage function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php Data provider for ::testExceptionMessage()
RowCountExceptionTest::testExceptionMessage function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @covers ::__construct
@dataProvider providerTestExceptionMessage
RowCountExceptionTest::testExceptionMessageNull function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @covers ::__construct
@group legacy
SaveUploadTest::$account property core/modules/file/tests/src/Functional/SaveUploadTest.php The user used by the test.
SearchCommentCountToggleTest class core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php Tests that comment count display toggles properly on comment status of node.
SearchCommentCountToggleTest.php file core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
SearchCommentCountToggleTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php The theme to install as the default for testing.
SearchCommentCountToggleTest::$modules property core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php Modules to install.
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::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.

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