1. Contao Developer Documentation > 
  2. Reference > 
  3. Twig
  • Twig

Twig

This documents the Twig functions, filters, globals and tags provided by Contao in addition to Twig’s own.

  • Functions
    • add_schema_org
    • attrs
    • backend_icon
    • contao_figure
    • contao_section
    • contao_sections
    • content_element
    • content_url
    • csp_hash
    • csp_nonce
    • csp_source
    • figure
    • frontend_module
    • include
    • insert_tag
    • picture_config
    • prefix_url
  • Filters
    • csp_inline_styles
    • csp_unsafe_inline_style
    • deserialize
    • encode_email
    • escape
    • format_bytes
    • highlight
    • highlight_auto
    • insert_tag
    • insert_tag_raw
    • sanitize_html
  • Globals
    • contao
  • Tags
    • add
    • slot
Developer Documentation
  • Getting Started
    • Framework
      • Reference
        • Back End Widgets
          • Commands
          • Config
          • Data Container Array
            • Events
            • Hooks
              • Request Attributes
              • Services
              • Twig
                • Functions
                  • Filters
                    • Globals
                      • Tags
                    • Guides
                      • Internals
                          •  
                          •  

                          Go to the Contao manual.
                          More documentation on docs.contao.org.
                          More about Contao on contao.org.