You are here

public function ProcessorsService::__construct in Purge 8.3

Construct the processors service.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $pluginManager: The plugin manager for this service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

File

src/Plugin/Purge/Processor/ProcessorsService.php, line 33

Class

ProcessorsService
Provides a service that provides access to loaded processors.

Namespace

Drupal\purge\Plugin\Purge\Processor

Code

public function __construct(PluginManagerInterface $pluginManager, ConfigFactoryInterface $config_factory) {
  $this->pluginManager = $pluginManager;
  $this->configFactory = $config_factory;
}