Filters

t3_html

{{ html | t3_html(parseFuncTSPath = 'lib.parseFunc_RTE') }}

Parses HTML that was created with an rich text editor.

Arguments

html

Type: string

The HTML that should be processed. Normally this is the content that is stored in the database.

parseFuncTSPath

Type: string | Default: lib.parseFunc_RTE

Here you can define which setup should be used to transform the HTML content.

t3_trans

{{ 'key' | t3_trans(arguments = [], extensionName = null) }}

Translates the given translation key into the active language.

Arguments

key

Type: string

The key for the translation.

arguments

Type: array | Default: []

The arguments that are replaced while translating.

extensionName

Type: ?string

The name of the extension where the translations are located.