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. Search main for count
  6. Other projects
Title Object type File name Summary
PerformanceTestRecorder::getCount function core/lib/Drupal/Core/Test/PerformanceTestRecorder.php Gets the number of times an event occurred.
PerformanceTestTrait::assertCountBetween function core/tests/Drupal/Tests/PerformanceTestTrait.php Asserts that a count is between a min and max inclusively.
PermissionCheckerTest::$account property core/tests/Drupal/Tests/Core/Session/PermissionCheckerTest.php The mocked account to use for testing.
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 1 account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 2 account.
PhpassHashedPasswordBase::getCountLog2 function core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php Parses the log2 iteration count from a stored hash or setting string.
PhpassHashedPasswordBase::MAX_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php The maximum allowed log2 number of iterations for password stretching.
PhpassHashedPasswordBase::MIN_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php The minimum allowed log2 number of iterations for password stretching.
PhpSelection::countReferenceableEntities function core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/PhpSelection.php Counts entities that are referenceable.
PluralTranslatableMarkup::$count property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The item count to display.
PluralTranslatableMarkupTest::providerExplicitCountArgument function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Data provider for ::testExplicitCountArgument().
PluralTranslatableMarkupTest::testExplicitCountArgument function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests that an explicit @count in the arguments takes precedence.
PrefetchedResult::rowCount function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Returns the number of rows matched by the last SQL statement.
QueryBase::$count property core/lib/Drupal/Core/Entity/Query/QueryBase.php TRUE if this is a count query, FALSE if it isn't.
QueryBase::count function core/lib/Drupal/Core/Entity/Query/QueryBase.php Makes this a count query.
QueryGroupByTest::testAggregateCount function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate count feature.
QueryGroupByTest::testAggregateCountFunction function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate count feature with no group by.
QueryGroupByTest::testGroupByCount function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the count aggregation function.
QueryGroupByTest::testGroupByCountOnlyFilters function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests group by with filters.
QueryInterface::count function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Makes this a count query.
RegionalForm::$countryManager property core/modules/system/src/Form/RegionalForm.php The country manager.
RegionalSettingsFormTest::$adminAccount property core/modules/system/tests/src/Functional/Form/RegionalSettingsFormTest.php A user with permission to administer site configuration.
ReservedWordTest::testSelectReservedWordAliasCount function core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php Tests SELECT count query from a table with a reserved alias.
ReservedWordTest::testSelectReservedWordTableCount function core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php Tests SELECT count query from a table with a reserved name.
ResourceTestBase::$account property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The account to use for authentication.
ResourceTestBase::$account property core/modules/rest/tests/src/Functional/ResourceTestBase.php The account to use for authentication, if any.
ResourceType::includeCount function core/modules/jsonapi/src/ResourceType/ResourceType.php Determine whether to include a collection count.
Result::rowCount function core/modules/mysqli/src/Driver/Database/mysqli/Result.php Returns the number of rows matched by the last SQL statement.
ResultBase::rowCount function core/lib/Drupal/Core/Database/Statement/ResultBase.php Returns the number of rows matched by the last SQL statement.
RevisionableContentEntityBaseTest::assertItemsTableCount function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Asserts the amount of items on entity related tables.
RevisionRevertFormTest::countRevisions function core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php Count number of revisions for an entity type.
RoleUserTestBase::$account property core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php The mocked account.
RouterTest::testUserAccount function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests the user account on the DIC.
RowCountException class core/lib/Drupal/Core/Database/RowCountException.php Exception thrown if a SELECT query trying to execute rowCount() on result.
RowCountException.php file core/lib/Drupal/Core/Database/RowCountException.php
RowCountException::__construct function core/lib/Drupal/Core/Database/RowCountException.php
RowCountExceptionTest class core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php Tests Drupal\Core\Database\RowCountException.
RowCountExceptionTest.php file core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php
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 Tests exception message.
RowCountExceptionTest::testExceptionMessageNull function core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php Tests exception message null.
SaveUploadTest::$account property core/modules/file/tests/src/Functional/SaveUploadTest.php The user used by the test.
SchemaDefinitionTest::testInvalidForeignKeyForMismatchingColumnCount function core/tests/Drupal/Tests/Core/Database/SchemaDefinitionTest.php Tests passing a non Column array member to Table::$columns.
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.

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