You are here

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

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

Constructs a UrlExtractor object.

File

src/UrlExtractor.php, line 30

Class

UrlExtractor
URL extractor service.

Namespace

Drupal\twig_tweak

Code

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