The ContentTypeGroupTermAggregation aggregates search results by the content item's content type group.
name
- name of the Aggregation object
$query = new Query();
$query->aggregations[] = new Aggregation\ContentTypeGroupTermAggregation('content_type_group');
[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]