public function LinkStatusHandlerBase::__construct in Link checker 8
LinkStatusHandlerBase constructor.
Overrides PluginBase::__construct
1 call to LinkStatusHandlerBase::__construct()
- Repair301::__construct in src/
Plugin/ LinkStatusHandler/ Repair301.php - Repair301 constructor.
1 method overrides LinkStatusHandlerBase::__construct()
- Repair301::__construct in src/
Plugin/ LinkStatusHandler/ Repair301.php - Repair301 constructor.
File
- src/
Plugin/ LinkStatusHandlerBase.php, line 61
Class
- LinkStatusHandlerBase
- Base class for Link status handler plugins.
Namespace
Drupal\linkchecker\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, QueueFactory $queueFactory, EntityTypeManagerInterface $entityTypeManager, AccountSwitcherInterface $accountSwitcher, ImmutableConfig $linkcheckerSetting) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->queue = $queueFactory
->get('linkchecker_status_handle');
$this->entityTypeManager = $entityTypeManager;
$this->accountSwitcher = $accountSwitcher;
$this->linkcheckerSetting = $linkcheckerSetting;
$this->itemsPerBatch = 10;
}