SiteimproveDomainManager.php in Siteimprove 8
File
src/Plugin/SiteimproveDomainManager.php
View source
<?php
namespace Drupal\siteimprove\Plugin;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
class SiteimproveDomainManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/SiteimproveDomain', $namespaces, $module_handler, 'Drupal\\siteimprove\\Plugin\\SiteimproveDomainInterface', 'Drupal\\siteimprove\\Annotation\\SiteimproveDomain');
$this
->alterInfo('siteimprove_siteimprove_domain_info');
$this
->setCacheBackend($cache_backend, 'siteimprove_siteimprove_domain_plugins');
}
}