Skip to content
Snippets Groups Projects
Commit 821da69c authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 5135cbb4
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment