Search for group

  1. Search 7.x for group
  2. Search 9.5.x for group
  3. Search 10.3.x for group
  4. Search 11.x for group
  5. Other projects
Title Object type File name Summary
QueryGroupByTest::testAggregateCount function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate count feature.
QueryGroupByTest::testGroupByAverage function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the average aggregation function.
QueryGroupByTest::testGroupByBaseField function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests grouping on base field.
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.
QueryGroupByTest::testGroupByFieldWithCardinality function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests grouping a field with cardinality > 1.
QueryGroupByTest::testGroupByMax function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the max aggregation function.
QueryGroupByTest::testGroupByMin function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the min aggregation function.
QueryGroupByTest::testGroupByNone function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregation with no specific function.
QueryGroupByTest::testGroupBySum function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests the sum aggregation function.
QueryGroupByTest::testGroupByWithFieldsNotExistingOnBundle function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests groupby with a field not existing on some bundle.
QueryInterface::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ANDed together.
QueryInterface::orConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ORed together.
QueryPluginBase::setGroupOperator function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Control how all WHERE and HAVING groups are put together.
QueryPluginBase::setWhereGroup function core/modules/views/src/Plugin/views/query/QueryPluginBase.php Create a new grouping for the WHERE or HAVING clause.
Random::usesGroupBy function core/modules/views/src/Plugin/views/sort/Random.php Provides the handler some groupby.
RecursiveContextualValidatorTest::testValidatePropertyWithCustomGroup function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validateProperty
RecursiveContextualValidatorTest::testValidateWithGroups function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Ensures that passing an explicit group is not supported.
Registry::getPrefixGroupedUserFunctions function core/lib/Drupal/Core/Theme/Registry.php Gets all user functions grouped by the word before the first underscore.
RelationshipPluginBase::usesGroupBy function core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php Provides the handler some groupby.
RenderedEntity::usesGroupBy function core/modules/views/src/Plugin/views/field/RenderedEntity.php Provides the handler some groupby.
RenderElement::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Adds members of this group as actual elements for rendering.
RenderElement::processGroup function core/lib/Drupal/Core/Render/Element/RenderElement.php Arranges elements into groups.
ResponsiveImageStyle::$breakpoint_group property core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php The responsive image breakpoint group.
ResponsiveImageStyle::getBreakpointGroup function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Returns the breakpoint group for the responsive image style.
ResponsiveImageStyle::setBreakpointGroup function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Sets the breakpoint group for the responsive image style.
ResponsiveImageStyleConfigEntityUnitTest::testSetBreakpointGroup function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @covers ::setBreakpointGroup
@covers ::getBreakpointGroup
ResponsiveImageStyleInterface::getBreakpointGroup function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Returns the breakpoint group for the responsive image style.
ResponsiveImageStyleInterface::setBreakpointGroup function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Sets the breakpoint group for the responsive image style.
Select::$group property core/lib/Drupal/Core/Database/Query/Select.php The fields by which to group.
Select::getGroupBy function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the group-by array for this query.
Select::groupBy function core/lib/Drupal/Core/Database/Query/Select.php Groups the result set by the specified field.
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::testGroupBy function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests GROUP BY clauses.
SelectComplexTest::testGroupByAndHaving function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests GROUP BY and HAVING clauses together.
SelectExtender::andConditionGroup function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates a new group of conditions ANDed together.
SelectExtender::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates an object holding a group of conditions.
SelectExtender::getGroupBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the group-by array for this query.
SelectExtender::groupBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Groups the result set by the specified field.
SelectExtender::orConditionGroup function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates a new group of conditions ORed together.
SelectInterface::getGroupBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the group-by array for this query.
SelectInterface::groupBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Groups the result set by the specified field.
SelectionPluginManager::getSelectionGroups function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php Gets the selection plugins that can reference a specific entity type.
SelectionPluginManagerInterface::getSelectionGroups function core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php Gets the selection plugins that can reference a specific entity type.
Serializer::$usesGrouping property core/modules/rest/src/Plugin/views/style/Serializer.php Does the style plugin support grouping of rows.
simpletest_deprecation_test_test_group_finished function core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_test_group_finished().
simpletest_deprecation_test_test_group_started function core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_test_group_started().
Sql::$groupby property core/modules/views/src/Plugin/views/query/Sql.php A simple array of group by clauses.
Sql::$groupOperator property core/modules/views/src/Plugin/views/query/Sql.php The default operator to use when connecting the WHERE groups. May be
AND or OR.
Sql::addGroupBy function core/modules/views/src/Plugin/views/query/Sql.php Add a simple GROUP BY clause to the query. The caller is responsible
for ensuring that the fields are fully qualified and the table is properly
added.

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