You are here

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

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

Constructs a UrlExtractor object.

File

src/UriExtractor.php, line 28

Class

UriExtractor
URI extractor service.

Namespace

Drupal\twig_tweak

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}