Skip to content

Feature request: Allow array merging / replacement in native parser #809

Description

@bmack

If you work with additionalAttributes in Tag-based ViewHelpers, it would be highly beneficial to have a good "array_replace_recursive" logic.

Example:

<f:media additionalAttributes="{additionalAttributes}" />

But if you want to add more values from another array, a logic such as

<f:media additionalAttributes="{additionalAttributes} + {key: 'my-value'}" />

would be really cool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions