You are here

public function LinkCheck::__construct in Link checker 8

LinkExtract constructor.

Overrides PluginBase::__construct

File

src/Plugin/QueueWorker/LinkCheck.php, line 40

Class

LinkCheck
Checks the link.

Namespace

Drupal\linkchecker\Plugin\QueueWorker

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager, LinkCheckerService $linkChecker) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeManager = $entityTypeManager;
  $this->linkChecker = $linkChecker;
}