public function UpdateRunnerManager::__construct in Scheduled Updates 8
Constructs a new ImageEffectManager.
Parameters
\Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides DefaultPluginManager::__construct
File
- src/
Plugin/ UpdateRunnerManager.php, line 28 - Contains \Drupal\scheduled_updates\Plugin\UpdateRunnerManager.
Class
Namespace
Drupal\scheduled_updates\PluginCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/UpdateRunner', $namespaces, $module_handler, 'Drupal\\scheduled_updates\\Plugin\\UpdateRunnerInterface', 'Drupal\\scheduled_updates\\Annotation\\UpdateRunner');
$this
->alterInfo('scheduled_updates_runners_info');
$this
->setCacheBackend($cache_backend, 'scheduled_updates_runners');
}