Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractTwigCallable.php

function AbstractTwigCallable::needsEnvironment

Overrides TwigCallableInterface::needsEnvironment

1 method overrides AbstractTwigCallable::needsEnvironment()
TwigTest::needsEnvironment in vendor/twig/twig/src/TwigTest.php

File

vendor/twig/twig/src/AbstractTwigCallable.php, line 97

Class

AbstractTwigCallable
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig

Code

public function needsEnvironment() : bool {
    return $this->options['needs_environment'];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal