|
|
@ -11,6 +11,7 @@ |
|
|
|
<div class="tt-menu-depth">{{ drupal_menu('twig-tweak-test', 1, 1) }}</div> |
|
|
|
<div class="tt-menu-depth">{{ drupal_menu('twig-tweak-test', 1, 1) }}</div> |
|
|
|
<div class="tt-block">{{ drupal_block('powered_by_drupal') }}</div> |
|
|
|
<div class="tt-block">{{ drupal_block('powered_by_drupal') }}</div> |
|
|
|
<div class="tt-token">{{ drupal_token('site:name') }}</div> |
|
|
|
<div class="tt-token">{{ drupal_token('site:name') }}</div> |
|
|
|
|
|
|
|
<div class="tt-token-data">{{ drupal_token('node:title', {'node': node}) }}</div> |
|
|
|
<div class="tt-config">{{ drupal_config('user.settings', 'anonymous') }}</div> |
|
|
|
<div class="tt-config">{{ drupal_config('user.settings', 'anonymous') }}</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)', '$1-bar') }}</div> |
|
|
|