return;
} foreach ($tree as $specifier =>
$children) { // The field path reconstructs the entity condition fields.
// E.g. `uid.0` would become `uid.0.name` if $specifier === 'name'.
$child_prefix =
(is_null($field_prefix)) ?
$specifier : "
$field_prefix.
$specifier";
if (is_null($field_storage_definition)) { // When the field storage definition is NULL, this specifier is the
// first specifier in an entity query field path or the previous
// specifier was a data reference that has been traversed. In both
// cases, the specifier must be a field name.
$field_storage_definitions =
static::
$fieldManager->
getFieldStorageDefinitions($entity_type_id);
static::
secureQuery($query,
$entity_type_id,
$children,
$cacheability,
$child_prefix,
$field_storage_definitions[$specifier]);
// When $field_prefix is NULL, this must be the first specifier in the
// entity query field path and a condition for the query's base entity
// type must be applied.
if (is_null($field_prefix)) { static::
applyAccessConditions($query,
$entity_type_id, NULL,
$cacheability);
} } else { // When the specifier is an entity reference, it can contain an entity
// type specifier, like so: `entity:node`. This extracts the `entity`