Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Allow defining arguments for f:render with f:argument #429

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Feb 20, 2019

  1. [FEATURE] Allow defining arguments for f:render with f:argument

    This patch allows you to define arguments that get passed to
    f:render by using f:argument inside the tag contents.
    
    ```xml
    <f:render partial="Something">
       <f:argument name="arg1">Special value for arg1 variable</f:argument>
       <f:argument name="arg2">Special value for arg2 variable</f:argument>
    </f:render>
    ```
    
    Any argument specified with f:variable this way will override
    the argument of the same name if it was passed in the “arguments”
    array as well. The combined result will be used as variables for the
    sub-rendering call.
    
    References: TYPO3#427
    NamelessCoder committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    0435601 View commit details
    Browse the repository at this point in the history