Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d3cfc16

Browse filesBrowse files
committed
Added humanize filter
1 parent 1e84ae9 commit d3cfc16
Copy full SHA for d3cfc16

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎reference/twig_reference.rst

Copy file name to clipboardExpand all lines: reference/twig_reference.rst
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ Filters
6767
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+
6868
| Filter Syntax | Usage |
6969
+=================================================================================+===================================================================+
70+
| ``text|humanize`` | Makes a technical name human readable (replaces underscores by |
71+
| | spaces and capitalizes the string) |
72+
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+
7073
| ``text|trans(arguments = {}, domain = 'messages', locale = null)`` | This will translate the text into the current language, more |
7174
| | information in :ref:`book-translation-twig`. |
7275
+---------------------------------------------------------------------------------+-------------------------------------------------------------------+

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.