You are here

public function InlineLinkExtractor::__construct in Printer and PDF versions for Drupal 8+ 8

Same name and namespace in other branches
  1. 2.x src/LinkExtractor/InlineLinkExtractor.php \Drupal\printable\LinkExtractor\InlineLinkExtractor::__construct()

Constructs a new InlineLinkExtractor object.

File

src/LinkExtractor/InlineLinkExtractor.php, line 39

Class

InlineLinkExtractor
Link extractor.

Namespace

Drupal\printable\LinkExtractor

Code

public function __construct(HtmlPageCrawler $crawler, MetadataBubblingUrlGenerator $urlGenerator, AliasManager $aliasMnager) {
  $this->crawler = $crawler;
  $this->urlGenerator = $urlGenerator;
  $this->aliasMnager = $aliasMnager;
}