Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / functions / include / sandbox_disabling_ignore_missing.test
1 --TEST--
2 "include" tag sandboxed
3 --TEMPLATE--
4 {{ include("unknown.twig", sandboxed = true, ignore_missing = true) }}
5 {{ include("bar.twig") }}
6 --TEMPLATE(bar.twig)--
7 {{ foo|e }}
8 --DATA--
9 return array('foo' => 'bar<br />')
10 --EXPECT--
11
12
13 bar&lt;br /&gt;