You are here

public function Dates::getFilters in Bamboo Twig 8

List of all Twig functions.

File

src/TwigExtension/Dates.php, line 30

Class

Dates
Provides a 'Dates' Twig Extensions.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

public function getFilters() {
  return [
    new \Twig_SimpleFilter('format_date_i18n', [
      $this,
      'dateFormati18n',
    ]),
  ];
}