Browse Source

Fixed wrong dump options.

merge-requests/4/head
Chi 7 years ago
parent
commit
96d4333f0d
  1. 2
      src/TwigExtension.php

2
src/TwigExtension.php

@ -30,7 +30,7 @@ class TwigExtension extends \Twig_Extension {
*/ */
public function getFunctions() { public function getFunctions() {
$all_options = ['needs_environment' => TRUE, 'needs_context' => TRUE]; $all_options = ['needs_environment' => TRUE, 'needs_context' => TRUE];
$context_options = ['needs_environment' => TRUE]; $context_options = ['needs_context' => TRUE];
return [ return [
new \Twig_SimpleFunction('drupal_view', 'views_embed_view'), new \Twig_SimpleFunction('drupal_view', 'views_embed_view'),
new \Twig_SimpleFunction('drupal_view_result', 'views_get_view_result'), new \Twig_SimpleFunction('drupal_view_result', 'views_get_view_result'),

Loading…
Cancel
Save