Attention

TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.

debug.render

Debuggable version of f:render - performs the same rendering operation but wraps the output with HTML that can be inspected with the admin panel in frontend.

Replaces f:render when the admin panel decides (see ViewHelperResolver class). Also possible to use explicitly by using f:debug.render instead of the normal f:render statement.

Arguments

debug

DataType

boolean

Default

true

Required

false

Description

If true, the admin panel shows debug information if activated,

section

DataType

string

Required

false

Description

Section to render - combine with partial to render section in partial

partial

DataType

string

Required

false

Description

Partial to render, with or without section

arguments

DataType

mixed

Default

array ()

Required

false

Description

Array of variables to be transferred. Use {_all} for all variables

optional

DataType

boolean

Required

false

Description

If TRUE, considers the section optional. Partial never is.

default

DataType

mixed

Required

false

Description

Value (usually string) to be displayed if the section or partial does not exist

contentAs

DataType

string

Required

false

Description

If used, renders the child content and adds it as a template variable with this name for use in the partial/section