Settings not present in patterns layouts

Created on 8 November 2019, almost 6 years ago
Updated 2 September 2025, 11 days ago

Problem/Motivation

Settings are not populated to the template variables as they are not added to the render array.

Proposed resolution

UI Patterns module currently does not provide any pre-render hook for layout patterns that allow other modules manipulate the render array. Something similar happens with the layout_builder ( Provide output alter event for layout builder Needs work ). So the only way I found to add the pattern settings is by altering the plugin class in the pattern plugin info.

Remaining tasks

Review, consider other approaches.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

TBD.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain manuel.adan 🌌

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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