Additional filters

General filters serve many different purposes including formatting, converting, and applying CSS classes.

t (translation)

Uses a translation key to access the locale file for the active language. Returns the corresponding string of translated text in the locale file.

To learn more about using the t filter, refer to Translation keys and the t filter. For guidelines on naming your translation descriptions, refer to Naming and grouping your translation keys.


Did this page help you?