projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
functions
/
include
/
with_variables.test
1
--TEST--
2
"include" function accept variables
3
--TEMPLATE--
4
{{ include("foo.twig", {'foo': 'bar'}) }}
5
{{- include("foo.twig", vars) }}
6
--TEMPLATE(foo.twig)--
7
{{ foo }}
8
--DATA--
9
return array('vars' => array('foo' => 'bar'))
10
--EXPECT--
11
bar
12
bar