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

Breadcrumb

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

function ChainLoader::getLoaders

Return value

LoaderInterface[]

4 calls to ChainLoader::getLoaders()
ChainLoader::exists in vendor/twig/twig/src/Loader/ChainLoader.php
ChainLoader::getCacheKey in vendor/twig/twig/src/Loader/ChainLoader.php
Gets the cache key to use for the cache for a given template name.
ChainLoader::getSourceContext in vendor/twig/twig/src/Loader/ChainLoader.php
Returns the source context for a given template logical name.
ChainLoader::isFresh in vendor/twig/twig/src/Loader/ChainLoader.php

File

vendor/twig/twig/src/Loader/ChainLoader.php, line 52

Class

ChainLoader
Loads templates from other loaders.

Namespace

Twig\Loader

Code

public function getLoaders() : array {
    if (!\is_array($this->loaders)) {
        $this->loaders = iterator_to_array($this->loaders, false);
    }
    return $this->loaders;
}
RSS feed
Powered by Drupal