Add ability to evaluate conditions like the block visibility settings

Created on 6 October 2022, over 1 year ago
Updated 26 February 2023, over 1 year ago

Problem/Motivation

I wrote a custom condition plugin and I would like to use in twig as a function

Proposed resolution

Add a drupal_condition_evaluate() twig function

Remaining tasks

API changes

New function available

✨ Feature request
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain rodrigoaguilera Barcelona

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024