public function Twig_Loader_Filesystem::getPaths

Returns the paths to the templates.

Parameters

string $namespace A path namespace:

Return value

array The array of paths where to look for templates

File

drupal/core/vendor/twig/twig/lib/Twig/Loader/Filesystem.php, line 39

Class

Twig_Loader_Filesystem
Loads template from the filesystem.

Code

public function getPaths($namespace = '__main__') {
  return isset($this->paths[$namespace]) ? $this->paths[$namespace] : array();
}