Edit on GitHub
Jump to docs navigation

Twig Components / Methods / humanize

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.