Search for group

  1. Search 7.x for group
  2. Search 9.5.x for group
  3. Search 8.9.x for group
  4. Search 10.3.x for group
  5. Other projects
Title Object type File name Summary
QueryBase::orConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates a new group of conditions ORed together.
QueryConditionTrait::andConditionGroup function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::orConditionGroup function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryGroupByTest class core/modules/views/tests/src/Kernel/QueryGroupByTest.php Tests aggregate functionality of views, for example count.
QueryGroupByTest.php file core/modules/views/tests/src/Kernel/QueryGroupByTest.php
QueryGroupByTest::$modules property core/modules/views/tests/src/Kernel/QueryGroupByTest.php Modules to install.
QueryGroupByTest::$storage property core/modules/views/tests/src/Kernel/QueryGroupByTest.php The storage for the test entity type.
QueryGroupByTest::$testViews property core/modules/views/tests/src/Kernel/QueryGroupByTest.php Views used by this test.
QueryGroupByTest::groupByTestHelper function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Provides a test helper which runs a view with some aggregation function.
QueryGroupByTest::setUp function core/modules/views/tests/src/Kernel/QueryGroupByTest.php
QueryGroupByTest::setupTestEntities function core/modules/views/tests/src/Kernel/QueryGroupByTest.php Helper method that creates some test entities.
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::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 group by 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 group by with a non-existent field 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::$groupOperator property core/modules/views/src/Plugin/views/query/QueryPluginBase.php Controls how the WHERE and HAVING groups are put 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 group by.
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 group by.
RenderedEntity::usesGroupBy function core/modules/views/src/Plugin/views/field/RenderedEntity.php Provides the handler some group by.
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.
RenderElementBase::preRenderGroup function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Adds members of this group as actual elements for rendering.
RenderElementBase::processGroup function core/lib/Drupal/Core/Render/Element/RenderElementBase.php Arranges elements into groups.
ReservedWordTest::testGroupBy function core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php Tests SELECT query with GROUP BY clauses on fields with reserved names.
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.

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