Context management for Pattern presets

Created on 10 August 2025, 4 days ago

Problem/Motivation

Following 📌 Context & dependency management for Pattern presets Active

Pattern Presets conditions of availability in the "Pattern library" panel have not been properly implemented yet, so we see in this panel presets we are not supposed to have access.

Proposed resolution

We need to make patterns available if the contexts of the sources stored in the pattern are compatible with the contexts of the current display builder.

For example, a pattern with 'field:node:article:title' must not be avaialble if the entity context is missing.

A pattern with view_rows source, must not be available outside of a View context. And so on...

📌 Task
Status

Active

Version

1.0

Component

Pattern presets

Created by

🇫🇷France pdureau Paris

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

Comments & Activities

Production build 0.71.5 2024