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

Breadcrumb

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

function Environment::getLoader

3 calls to Environment::getLoader()
Environment::createTemplate in vendor/twig/twig/src/Environment.php
Creates a template from source.
TwigEnvironment::getTemplateMetadata in core/lib/Drupal/Core/Template/TwigEnvironment.php
Retrieves metadata associated with a template.
TwigEnvironment::__construct in core/lib/Drupal/Core/Template/TwigEnvironment.php
Creates a TwigEnvironment object, including its cache and storage.

File

vendor/twig/twig/src/Environment.php, line 581

Class

Environment
Stores the Twig configuration and renders templates.

Namespace

Twig

Code

public function getLoader() : LoaderInterface {
    return $this->loader;
}
RSS feed
Powered by Drupal