| description | ObjectStateTermAggregation |
|---|
The ObjectStateTermAggregation aggregates search results by the content item's object state.
name- name of the Aggregation objectobjectStateGroupIdentifier- string representing the identifier of the object state group to aggregate results by
$query = new Query();
$query->aggregations[] = new Aggregation\Location\ObjectStateTermAggregation('object_state', 'ibexa_lock');[[= include_file('docs/snippets/search_term_aggregation_settings.md') =]]