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

Breadcrumb

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

function FilesystemLoader::getPaths

Returns the paths to the templates.

Return value

list<string>

File

vendor/twig/twig/src/Loader/FilesystemLoader.php, line 57

Class

FilesystemLoader
Loads template from the filesystem.

Namespace

Twig\Loader

Code

public function getPaths(string $namespace = self::MAIN_NAMESPACE) : array {
    return $this->paths[$namespace] ?? [];
}

API Navigation

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