public function TwigExtension::getFilters in Calendar 8
File
- src/
Template/ TwigExtension.php, line 20
Class
- TwigExtension
- A class providing Calendar Twig extensions.
Namespace
Drupal\calendar\TemplateCode
public function getFilters() {
return [
new \Twig_SimpleFilter('calendar_stripe', [
$this,
'getCalendarStripe',
], [
'is_safe' => [
'html',
],
]),
];
}