You are here

public function RenderThis::getFilters in Twig Render This 8

File

src/TwigExtension/RenderThis.php, line 24

Class

RenderThis
Twig Render This filter.

Namespace

Drupal\twig_render_this\TwigExtension

Code

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