You are here

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\Template

Code

public function getFilters() {
  return [
    new \Twig_SimpleFilter('calendar_stripe', [
      $this,
      'getCalendarStripe',
    ], [
      'is_safe' => [
        'html',
      ],
    ]),
  ];
}