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
PagerPluginBase::useCountQuery function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Determine if a pager needs a count query.
PagerPluginBaseTest::testExecuteCountQueryWithOffset function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method with a set offset.
PagerPluginBaseTest::testExecuteCountQueryWithOffsetLargerThanResult function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method with an offset larger than result count.
PagerPluginBaseTest::testExecuteCountQueryWithoutOffset function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method without a set offset.
PagerPluginBaseTest::testUseCountQuery function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the useCountQuery() method.
PagerSelectExtender::$customCountQuery property core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php The count query that will be used for this pager.
PagerSelectExtender::getCountQuery function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Retrieve the count query for this pager.
PagerSelectExtender::setCountQuery function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Specify the count query object to use for this pager.
PathValidator::$account property core/lib/Drupal/Core/Path/PathValidator.php The current user.
PathValidatorTest::$account property core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php The mocked account.
PathValidatorTest::testIsValidWithLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method with a 'link to any page' permission.
PathValidatorTest::testIsValidWithoutLinkToAnyPageAccount function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php Tests the isValid() method without the 'link to any page' permission.
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked super user account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A mocked account.
PermissionsHashGeneratorTest::$account2Updated property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php An "updated" mocked account.
PermissionsHashGeneratorTest::$account3 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php A different account.
PhpassHashedPassword::$countLog2 property core/lib/Drupal/Core/Password/PhpassHashedPassword.php Specifies the number of times the hashing function will be applied when
generating new password hashes. The number of times is calculated by
raising 2 to the power of the given value.
PhpassHashedPassword::getCountLog2 function core/lib/Drupal/Core/Password/PhpassHashedPassword.php Parses the log2 iteration count from a stored hash or setting string.
PhpassHashedPassword::MAX_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.php The maximum allowed log2 number of iterations for password stretching.
PhpassHashedPassword::MIN_HASH_COUNT constant core/lib/Drupal/Core/Password/PhpassHashedPassword.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.
Phpunit4CompatibilityTest::testFrameworkConstraintCount function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_Constraint_Count.
PluralTranslatableMarkup::$count property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The item count to display.
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::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 groupby with filters.
QueryInterface::count function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Makes this a count query.
RdfParsingTrait::getElementByRdfTypeCount function core/modules/rdf/tests/src/Traits/RdfParsingTrait.php Counts the number of resources of the provided type.
RegionalForm::$countryManager property core/modules/system/src/Form/RegionalForm.php The country manager.
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.
RevisionableContentEntityBaseTest::assertItemsTableCount function core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php Asserts the amount of items on entity related tables.
RoleUserTestBase::$account property core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php The mocked account.
RouteProvider::getRoutesCount function core/tests/Drupal/KernelTests/RouteProvider.php
RouteProvider::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProvider.php
RouteProviderLazyBuilder::getRoutesCount function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php
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
SchemaOrgDataConverter::interactionCount function core/modules/rdf/src/SchemaOrgDataConverter.php Converts an interaction count to a string with the interaction type.
SchemaTest::$counter property core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php A global counter for table and field creation.
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.

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