Commit 821da69c authored by alexpott's avatar alexpott
Browse files

Issue #2301837 by er.pushpinderrana | jhodgdon: Fixed Missing @endcode on Entity API topic.

parent 5135cbb4
...@@ -533,6 +533,7 @@ ...@@ -533,6 +533,7 @@
* $query \Drupal::entityQueryAggregate('your_entity_type'); * $query \Drupal::entityQueryAggregate('your_entity_type');
* // Or: * // Or:
* $query = $query_service->getAggregate('your_entity_type'); * $query = $query_service->getAggregate('your_entity_type');
* @endcode
* Also, you should use dependency injection to get this object if * Also, you should use dependency injection to get this object if
* possible; the service you need is entity.query, and its methods getQuery() * possible; the service you need is entity.query, and its methods getQuery()
* or getAggregateQuery() will get the query object. * or getAggregateQuery() will get the query object.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment