public function Loader::__construct in Bamboo Twig 8
TwigExtension constructor.
File
- bamboo_twig_loaders/
src/ TwigExtension/ Loader.php, line 61
Class
- Loader
- Provides a 'Loader' Twig Extensions.
Namespace
Drupal\bamboo_twig_loaders\TwigExtensionCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, RouteMatchInterface $route_match, BlockManagerInterface $blockManager, FormBuilderInterface $formBuilder, MenuLinkTreeInterface $menu_tree, ConfigFactoryInterface $config_factory) {
$this->entityTypeManager = $entity_type_manager;
$this->routeMatch = $route_match;
$this->blockManager = $blockManager;
$this->formBuilder = $formBuilder;
$this->menuTree = $menu_tree;
$this->configFactory = $config_factory;
}