|default
Twig Filter
The |default filter returns the value passed as the first argument if the filtered value is undefined or empty, otherwise the filtered value is returned.
___TWIG0___
___TWIG1___
___TWIG2___
___TWIG3___
When using the default filter on an expression that uses variables in some method calls, be sure to use the default filter whenever a variable can be undefined:
___TWIG0___