Allow adding query tags to entity_query Data Producer

Created on 6 September 2024, 7 months ago

Problem/Motivation

It would be nice to have the possibility to add query tags to data producers. For specific reasons of custom / contrib projects, it may be needed to to apply some special filters that are not possible to do without altering the query.

Proposed resolution

Allow data producer can be added with a query tag. Example:

  $builder->produce('entity_query', [
    'entity_type' => $builder->fromValue('node'), 
    'query_tag'  => $builder->fromValue('my_query_tag'), 
     ...
  ]);
Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇪🇸Spain omarlopesino

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024