@@ -25,13 +25,13 @@ class SiteExtension extends \Twig_Extension
25
25
public function getFunctions ()
26
26
{
27
27
return array (
28
- ' prepend_page_title ' => new \Twig_SimpleFunction ($ this , 'prependPageTitle ' ),
29
- ' append_page_title ' => new \Twig_SimpleFunction ($ this , 'appendPageTitle ' ),
30
- ' page_title ' => new \Twig_SimpleFunction ($ this , 'getPageTitle ' ),
31
- ' meta_description ' => new \Twig_SimpleFunction ($ this , 'getMetaDescription ' ),
32
- ' set_meta_description ' => new \Twig_SimpleFunction ($ this , 'setMetaDescription ' ),
33
- ' meta_keywords ' => new \Twig_SimpleFunction ($ this , 'getMetaKeywords ' ),
34
- ' add_meta_keywords ' => new \Twig_SimpleFunction ($ this , 'addMetaKeywords ' ),
28
+ new \Twig_SimpleFunction (' prepend_page_title ' , array ( $ this , 'prependPageTitle ' ) ),
29
+ new \Twig_SimpleFunction (' append_page_title ' , array ( $ this , 'appendPageTitle ' ) ),
30
+ new \Twig_SimpleFunction (' page_title ' , array ( $ this , 'getPageTitle ' ) ),
31
+ new \Twig_SimpleFunction (' meta_description ' , array ( $ this , 'getMetaDescription ' ) ),
32
+ new \Twig_SimpleFunction (' set_meta_description ' , array ( $ this , 'setMetaDescription ' ) ),
33
+ new \Twig_SimpleFunction (' meta_keywords ' , array ( $ this , 'getMetaKeywords ' ) ),
34
+ new \Twig_SimpleFunction (' add_meta_keywords ' , array ( $ this , 'addMetaKeywords ' ) ),
35
35
);
36
36
}
37
37
0 commit comments