You are here

public function GinLbExtension::getFunctions in Gin Layout Builder 1.0.x

Overrides TwigExtension::getFunctions

File

src/TwigExtension/GinLbExtension.php, line 20

Class

GinLbExtension
A class providing Gin Twig function.

Namespace

Drupal\gin_lb\TwigExtension

Code

public function getFunctions() {
  return [
    new TwigFunction('glb_classes', [
      $this,
      'ginClasses',
    ]),
  ];
}