Allow Pinto Layout to also use object constructors, not just a static method, to build new objects automatically.

This already works with the non-external methods.

Also add `FrozenLayoutDefinition` and `LayoutData` as argument resolved parameters for factories, so in case a factory method is reused between objects, it can optionally receive context.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dpi created an issue. See original summary.

dpi’s picture

  • dpi committed f1fabd58 on main
    [#3554903] feat: Improve flexibility of external object builds
    
    By: dpi
    
dpi’s picture

Assigned: dpi » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.