{% set image_attributes = {style: 'width: 30px; height 30px;'} %}
{{ drupal_view('twig_tweak_test') }}
{{ drupal_view('twig_tweak_test', 'page_1') }}
{{ drupal_view('twig_tweak_test', 'page_1', 1) }}
{{ drupal_view_result('twig_tweak_test', 'page_1')|length }}
{{ drupal_block('system_branding_block', {use_site_name: false}, false) }}
{{ drupal_block('system_branding_block', {label: 'Branding'}) }}
{{ drupal_region('sidebar_first') }}
{{ drupal_entity('node', 1) }}
{{ drupal_entity('node', 1, 'teaser') }}
{{ drupal_entity('node') }}
{{ drupal_field('body', 'node', 1) }}
{{ drupal_menu('twig-tweak-test') }}
{{ drupal_menu('twig-tweak-test', 2) }}
{{ drupal_menu('twig-tweak-test', 1, 1) }}
{{ drupal_form('Drupal\\system\\Form\\CronForm') }}
{{ drupal_image(1, attributes=image_attributes) }}
{{ drupal_image('public://druplicon.png', attributes=image_attributes) }}
{{ drupal_image('b2c22b6f-7bf8-4da4-9de5-316e93487518', attributes=image_attributes) }}
{{ drupal_image(1, 'thumbnail', image_attributes) }}
{{ drupal_image(1, 'example', image_attributes, true) }}
{{ drupal_token('site:name') }}
{{ drupal_token('node:title', {'node': node}) }}
{{ drupal_config('user.settings', 'anonymous') }}
{{ drupal_title() }}
{{ drupal_url('node/1', {absolute: true}) }}
{{ 'Site name: [site:name]' | token_replace }}
{{ 'FOO' | preg_replace('/(foo)/i', '$1-bar') }}
{{ 'public://images/ocean.jpg' | image_style('thumbnail') }}
{{ 'Привет!' | transliterate('ru') }}
{{ 'bold strong' | check_markup('twig_tweak_test') }}
{{ node|view }}
{{ node.title|view }}
{{ node.title[0]|view }}