You are here

public function RegionViewBuilder::__construct in Twig Tweak 3.1.x

Same name and namespace in other branches
  1. 3.x src/View/RegionViewBuilder.php \Drupal\twig_tweak\View\RegionViewBuilder::__construct()

Constructs a RegionViewBuilder object.

File

src/View/RegionViewBuilder.php, line 49

Class

RegionViewBuilder
Region view builder.

Namespace

Drupal\twig_tweak\View

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, RequestStack $request_stack, TitleResolverInterface $title_resolver) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configFactory = $config_factory;
  $this->requestStack = $request_stack;
  $this->titleResolver = $title_resolver;
}