Include the pattern entity with the pattern twig template

Created on 31 October 2024, 3 months ago

Problem/Motivation

At times, it maybe useful to have access to the pattern entity within the pattern twig template or available in an added prerender callback.

For my use case, I needed to add data attributes to elements within the pattern twig. These data attribute values had to be generated from the pattern entity's default source (English) translation. The pattern twig template only had access to pattern schema properties.

✨ Feature request
Status

Active

Version

9.1

Component

Twig Support

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024