|
|
@ -36,7 +36,8 @@ |
|
|
|
<div class="tt-title">{{ drupal_title() }}</div> |
|
|
|
<div class="tt-title">{{ drupal_title() }}</div> |
|
|
|
<div class="tt-url">{{ drupal_url('node/1', {absolute: true}) }}</div> |
|
|
|
<div class="tt-url">{{ drupal_url('node/1', {absolute: true}) }}</div> |
|
|
|
<div class="tt-token-replace">{{ 'Site name: [site:name]' | token_replace }}</div> |
|
|
|
<div class="tt-token-replace">{{ 'Site name: [site:name]' | token_replace }}</div> |
|
|
|
<div class="tt-preg-replace">{{ 'foo' | preg_replace('(foo)', '$1-bar') }}</div> |
|
|
|
<div class="tt-preg-replace">{{ 'FOO' | preg_replace('/(foo)/i', '$1-bar') }}</div> |
|
|
|
|
|
|
|
<div class="tt-preg-replace-legacy">{{ 'foo' | preg_replace('(foo)', '$1-bar') }}</div> |
|
|
|
<div class="tt-image-style">{{ 'public://images/ocean.jpg' | image_style('thumbnail') }}</div> |
|
|
|
<div class="tt-image-style">{{ 'public://images/ocean.jpg' | image_style('thumbnail') }}</div> |
|
|
|
<div class="tt-transliterate">{{ 'Привет!' | transliterate('ru') }}</div> |
|
|
|
<div class="tt-transliterate">{{ 'Привет!' | transliterate('ru') }}</div> |
|
|
|
<div class="tt-check-markup">{{ '<b>bold</b> <strong>strong</strong>' | check_markup('twig_tweak_test') }}</div> |
|
|
|
<div class="tt-check-markup">{{ '<b>bold</b> <strong>strong</strong>' | check_markup('twig_tweak_test') }}</div> |
|
|
|