public function CalendarLinkTwigExtension::getFunctions in Calendar Link 8
Same name and namespace in other branches
- 2.x src/Twig/CalendarLinkTwigExtension.php \Drupal\calendar_link\Twig\CalendarLinkTwigExtension::getFunctions()
File
- src/
Twig/ CalendarLinkTwigExtension.php, line 36
Class
- CalendarLinkTwigExtension
- Class CalendarLinkTwigExtension.
Namespace
Drupal\calendar_link\TwigCode
public function getFunctions() {
return [
new \Twig_SimpleFunction('calendar_link', [
$this,
'calendarLink',
]),
new \Twig_SimpleFunction('calendar_links', [
$this,
'calendarLinks',
]),
];
}