You are here

public function Langs::__construct in Bamboo Twig 8

TwigExtension constructor.

File

src/TwigExtension/Langs.php, line 23

Class

Langs
Provides a 'Langs' Twig Extensions.

Namespace

Drupal\bamboo_twig\TwigExtension

Code

public function __construct(LanguageManagerInterface $language) {
  $this->language = $language;
}