You are here

public function Repair301::__construct in Link checker 8

Repair301 constructor.

Overrides LinkStatusHandlerBase::__construct

File

src/Plugin/LinkStatusHandler/Repair301.php, line 41

Class

Repair301
Repairs 301 links.

Namespace

Drupal\linkchecker\Plugin\LinkStatusHandler

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, QueueFactory $queueFactory, EntityTypeManagerInterface $entityTypeManager, AccountSwitcherInterface $accountSwitcher, ImmutableConfig $linkcheckerSetting, RequestStack $requestStack) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $queueFactory, $entityTypeManager, $accountSwitcher, $linkcheckerSetting);
  $this->request = $requestStack
    ->getCurrentRequest();
}