Skip to content

ContentTypeGroupTermAggregation

The ContentTypeGroupTermAggregation aggregates search results by the Content item's Content Type group.

Arguments

  • name - name of the Aggregation object

Example

1
2
$query = new Query();
$query->aggregations[] = new Aggregation\ContentTypeGroupTermAggregation('content_type_group');