Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This project provides a Service that can be used to parse YAML into an executable EntityQuery.
Example Yaml:
---
main:
entity_type: node
range:
start: 0
length: 10
sort:
field: nid
conditions:
- field: status
value: published
operator: "!="
- field: nid
value: condition_1
condition_1:
entity_type: node
range:
start: 0
length: 10
sort:
field: nid
conditions:
- field: nid
value: 1
operator: "="
...
Running this through the Yaml Parser will return an EntityQuery which can be executed. Notice Queries can be linked to conditions as sub-queries.
Supporting organizations:
Initial Development
Project information
- Module categories: Developer Tools
- 3 sites report using this module
- Created by frob on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha1
released 23 June 2023
Works with Drupal: ^8 || ^9 || ^10
Initial alpha release
Install:
Development version: 1.0.x-dev updated 23 Jun 2023 at 20:51 UTC