LinkStatusHandlerManager.php in Link checker 8
File
src/Plugin/LinkStatusHandlerManager.php
View source
<?php
namespace Drupal\linkchecker\Plugin;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Plugin\DefaultPluginManager;
class LinkStatusHandlerManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/LinkStatusHandler', $namespaces, $module_handler, 'Drupal\\linkchecker\\Plugin\\LinkStatusHandlerInterface', 'Drupal\\linkchecker\\Annotation\\LinkStatusHandler');
$this
->alterInfo('linkchecker_link_status_handler_info');
$this
->setCacheBackend($cache_backend, 'linkchecker_link_status_handler_plugins');
}
}