Support for condition groups

Created on 2 March 2018, almost 7 years ago
Updated 27 February 2023, almost 2 years ago

Like i started discussing in https://www.drupal.org/project/block_visibility_groups/issues/2949277 ✨ Weight support for conditions Active , being able to use condition grouping with the conditions would be a nice feature and allow more flexible conditional visibility rules.

It would allow something like this:
Show a block on the page
WHEN node type IS Page
AND node type IS NOT Article
OR vocab IS NOT Article Category
AND URL is /something/something/
OR URL is /something/something/*

Where Article *could possibly* have a URL of /something/something/*.

So, it should pass as long as the URL = /something/something/* and it's not an Article and it's a Page OR it's an article category vocab.

Since you can't currently do that type of check in a single condition.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joshua.boltz

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