DrupalX

Extension
Framework

queryAll

Factory

Factory

This method can be used to search for entities by various conditions. In contrast to Drupal 8's native "Entity query" mechanism, using this method is much simpler due to the more concise syntax and overall usage. This method works exactly like the "query" method except that it will return not only the first matching item, but all items found as an EntityList object.