Returns the entity query object for this entity type.
$entity_type: The entity type, e.g. node, for which the query object should be returned.
$conjunction: AND if all conditions in the query need to apply, OR if any of them is enough. Optional, defaults to AND.
function entity_query($entity_type, $conjunction = 'AND') {
return drupal_container()
->get('entity.query')
->get($entity_type, $conjunction);
}