Add properties and related helpers to render elements

Created on 16 May 2025, 21 days ago

Problem/Motivation

This is a spin off from โœจ Use the builder pattern to make it easier to create render arrays Needs work although it does not, in fact, use the builder pattern.

Proposed resolution

Add

  1. Add object properties for every element property defined by getInfo() to every render element plugin
  2. A toRenderArray() method to create a render array from these properties
  3. A createInstance() method to create a new plugin instance
  4. Add __set / __get to RenderElementBase to soak up arbitrary properties
  5. ElementInfoManager::fromRenderArray to create an instance from a render array

Do not add any per property setter/getter the amount of methods would be quite bad. Logic can be added soon when PHP 8.4 gets required and property setter/getters are introduced.

Remaining tasks

Do something about children.

Test.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

render system

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada Charlie ChX Negyesi ๐ŸCanada

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

Merge Requests

Comments & Activities

  • Issue created by @Charlie ChX Negyesi
  • Pipeline finished with Failed
    21 days ago
    Total: 122s
    #498839
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada Charlie ChX Negyesi ๐ŸCanada
  • Pipeline finished with Failed
    20 days ago
    Total: 206s
    #499547
  • Pipeline finished with Failed
    20 days ago
    Total: 181s
    #499565
  • Pipeline finished with Failed
    20 days ago
    Total: 175s
    #499603
  • Pipeline finished with Failed
    20 days ago
    Total: 113s
    #499606
  • Pipeline finished with Failed
    20 days ago
    Total: 209s
    #499621
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada Charlie ChX Negyesi ๐ŸCanada
  • Pipeline finished with Failed
    20 days ago
    Total: 342s
    #499687
  • Pipeline finished with Failed
    20 days ago
    Total: 271s
    #499689
  • Pipeline finished with Failed
    20 days ago
    Total: 308s
    #499699
  • Pipeline finished with Failed
    20 days ago
    Total: 211s
    #499745
  • Pipeline finished with Failed
    20 days ago
    Total: 138s
    #499797
  • Pipeline finished with Failed
    20 days ago
    Total: 211s
    #499799
  • Pipeline finished with Canceled
    20 days ago
    Total: 80s
    #499832
  • Pipeline finished with Failed
    20 days ago
    Total: 127s
    #499833
  • Pipeline finished with Failed
    20 days ago
    Total: 180s
    #499856
  • ๐Ÿ‡จ๐Ÿ‡ฆCanada Charlie ChX Negyesi ๐ŸCanada
  • Pipeline finished with Failed
    20 days ago
    Total: 180s
    #499863
  • Pipeline finished with Failed
    20 days ago
    Total: 682s
    #499937
  • Pipeline finished with Failed
    18 days ago
    Total: 175s
    #500909
  • Pipeline finished with Failed
    18 days ago
    Total: 150s
    #500981
  • Pipeline finished with Failed
    18 days ago
    Total: 634s
    #500988
  • Pipeline finished with Failed
    18 days ago
    Total: 127s
    #501019
  • Pipeline finished with Failed
    18 days ago
    Total: 122s
    #501020
  • Pipeline finished with Failed
    18 days ago
    Total: 147s
    #501041
  • Pipeline finished with Canceled
    18 days ago
    Total: 70s
    #501042
  • Pipeline finished with Success
    18 days ago
    Total: 2143s
    #501043
  • Pipeline finished with Failed
    18 days ago
    Total: 133s
    #501082
  • Pipeline finished with Failed
    18 days ago
    Total: 133s
    #501086
  • Pipeline finished with Success
    18 days ago
    Total: 1063s
    #501093
  • Pipeline finished with Failed
    18 days ago
    Total: 146s
    #501122
  • Pipeline finished with Success
    18 days ago
    Total: 574s
    #501127
Production build 0.71.5 2024