Support for UI patterns settings in patterns Twig function

Created on 18 July 2023, over 1 year ago
Updated 6 September 2023, about 1 year ago

Problem/Motivation

I recently come across a scenario where I've to call a pattern in twig, because some fields are coming from referenced entity. So called pattern in twig using pattern twig function.
So when calling pattern using twig function there is no way to pass setting values to the function.

Proposed resolution

Create a new twig function (i,ie - pattern_with_settings) which takes settings as an argument.

Documentation changes

Document new function in the module readme and module documentation page.

Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇮🇳India Sharique

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

Comments & Activities

Production build 0.71.5 2024