[5.1.0] Remove UI Patterns Legacy dependency

Created on 5 November 2024, about 2 months ago

Replace pattern() Twig function by component() in components/

Careful, the functions are different:

  • pattern(string $id, array $fields = [], string $variant = "") where $fields has both slots and props
  • component(string $component_id, array $slots = [], array $props = []) where $component_id is provider:component and variant is a prop

2. Replace pattern() Twig function by component() in templates/

3. Remove UI Patterns Legacy dependency from info.yml

📌 Task
Status

Active

Version

5.1

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Comments & Activities

Production build 0.71.5 2024