public function Twig_ExistsLoaderInterface::exists

Check if we have the source code of a template, given its name.

Parameters

string $name The name of the template to check if we can load:

Return value

boolean If the template source code is handled by this loader or not

4 methods override Twig_ExistsLoaderInterface::exists()

File

drupal/core/vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php, line 27

Class

Twig_ExistsLoaderInterface
Adds an exists() method for loaders.

Code

public function exists($name);