Add ability to evaluate conditions like the block visibility settings

Created on 6 October 2022, over 2 years ago
Updated 26 February 2023, almost 2 years 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.71.5 2024