Search
K

Filters

Modify variable values with Twig filters.
Filters enable you to modify the content of variables within your template.
If you'd like us to add a filter that caters to your needs please let us know via the suggestions board.

Available Filters

Filter
Documentation
escape
View
length
View
raw
View
money
View
slice
View
number_format
View
date
View
nl2br
View
replace
View
split
View
upper
View
lower
View

Filter Documentation

money

The money filter transforms a variable into a monetary format.
{% set value = 1 %}
{{ value|money }} // returns 1.00

Last modified 5mo ago