Edit on GitHub
Jump to docs navigation

Twig Components / Methods / humanize

Note: You are currently reading the documentation for Bolt 5.0. Looking for the documentation for Bolt 5.2 instead?

humanize is a Twig filter to make a technical name human readable (i.e. replaces underscores by spaces or transforms camelCase text like helloWorld to hello worldand then capitalizes the string).

{{ text|humanize }}

text
type: string

Source: Twig



Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.