public function HelperFunctions::__construct in Twig Template Suggester 8
HelperFunctions constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match service.
File
- src/
Utils/ HelperFunctions.php, line 39
Class
- HelperFunctions
- Class HelperFunctions.
Namespace
Drupal\twigsuggest\UtilsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, RouteMatchInterface $route_match) {
$this->entityTypeManager = $entity_type_manager;
$this->routeMatch = $route_match;
}