public function Path::getFunctions in Bamboo Twig 8.3
Same name and namespace in other branches
- 8.5 bamboo_twig_path/src/TwigExtension/Path.php \Drupal\bamboo_twig_path\TwigExtension\Path::getFunctions()
- 8.2 bamboo_twig_path/src/TwigExtension/Path.php \Drupal\bamboo_twig_path\TwigExtension\Path::getFunctions()
- 8.4 bamboo_twig_path/src/TwigExtension/Path.php \Drupal\bamboo_twig_path\TwigExtension\Path::getFunctions()
List of all Twig functions.
File
- bamboo_twig_path/
src/ TwigExtension/ Path.php, line 13
Class
- Path
- Provides a 'Path' Twig Extensions.
Namespace
Drupal\bamboo_twig_path\TwigExtensionCode
public function getFunctions() {
return [
new \Twig_SimpleFunction('bamboo_path_system', [
$this,
'getSystemPath',
]),
];
}