Package

ViewHelpers

ViewHelper Documentation

v:variable.register.set

Variable\Register: Set

Sets a single register in the TSFE-register.

Using as {value -> v:variable.register.set(name: 'myVar')} makes $GLOBALS["TSFE"]->register['myVar'] contain {value}.

Arguments

value anySimpleType

Value to set

name string

Name of register

ViewHelper Resources

Schema Resources