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
LinkBase::usesGroupBy function core/modules/views/src/Plugin/views/field/LinkBase.php Provides the handler some groupby.
Links::usesGroupBy function core/modules/views/src/Plugin/views/field/Links.php Provides the handler some groupby.
ListElement::getGroupTitle function core/modules/config_translation/src/FormElement/ListElement.php Returns the title for the 'details' element of a group of schema elements.
Mapping::$usesGrouping property core/modules/views/src/Plugin/views/style/Mapping.php Do not use grouping.
MissingGroupException class core/lib/Drupal/Core/Test/Exception/MissingGroupException.php Exception thrown when a test class is missing an @group annotation.
MissingGroupException.php file core/lib/Drupal/Core/Test/Exception/MissingGroupException.php
ModuleHandlerTest::testGroupIncludes function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @covers ::getHookListeners
ModulesListNonStableConfirmForm::$groupedModuleInfo property core/modules/system/src/Form/ModulesListNonStableConfirmForm.php An array of module names to be enabled, keyed by lifecycle.
NodeNewComments::usesGroupBy function core/modules/comment/src/Plugin/views/field/NodeNewComments.php Provides the handler some groupby.
OptGroup class core/lib/Drupal/Core/Form/OptGroup.php Provides helpers for HTML option groups.
OptGroup.php file core/lib/Drupal/Core/Form/OptGroup.php
OptGroup::doFlattenOptions function core/lib/Drupal/Core/Form/OptGroup.php Iterates over an array building a flat array with duplicate keys removed.
OptGroup::flattenOptions function core/lib/Drupal/Core/Form/OptGroup.php Allows PHP array processing of multiple select options with the same value.
OptGroupTest class core/tests/Drupal/Tests/Core/Form/OptGroupTest.php @coversDefaultClass \Drupal\Core\Form\OptGroup
@group Form
OptGroupTest.php file core/tests/Drupal/Tests/Core/Form/OptGroupTest.php
OptGroupTest::providerTestFlattenOptions function core/tests/Drupal/Tests/Core/Form/OptGroupTest.php Provides test data for the flattenOptions() method.
OptGroupTest::testFlattenOptions function core/tests/Drupal/Tests/Core/Form/OptGroupTest.php Tests the flattenOptions() method.
OptionsListFilterTest::testViewsTestOptionsListGroupedFilter function core/modules/options/tests/src/Kernel/Views/OptionsListFilterTest.php Tests options list field filter when grouped.
OptionsSelectWidget::supportsGroups function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsSelectWidget.php Indicates whether the widgets support optgroups.
OptionsWidgetBase::supportsGroups function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Indicates whether the widgets support optgroups.
Query::$sqlGroupBy property core/lib/Drupal/Core/Entity/Query/Sql/Query.php An array of strings for the SQL 'group by' operation.
Query::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/Null/Query.php Creates an object holding a group of conditions.
QueryAggregate::addGroupBy function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Adds the groupby values to the actual query.
QueryAggregate::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Creates an object holding a group of conditions.
QueryAggregateInterface::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Creates an object holding a group of conditions.
QueryAggregateInterface::groupBy function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Specifies the field to group on.
QueryBase::$groupBy property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of columns to group on.
QueryBase::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates a new group of conditions ANDed together.
QueryBase::conditionGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates an object holding a group of conditions.
QueryBase::groupBy function core/lib/Drupal/Core/Entity/Query/QueryBase.php
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 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.

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