Skip to content

Pre-fill argument if content argument is defined #1303

Description

@s2b

Fluid should pre-fill $this->arguments['myArgument'] in ViewHelpers if getContentArgumentName() is set to myArgument and the argument is supplied via tag content. Currently, it is the other way around: $this->renderChildren() uses $this->arguments['myArgument'] as fallback. Both variants should be in sync, so ViewHelpers can just use $this->arguments and define the argument as required.

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

    breakingBreaking change, which requires deprecation and major release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions