function Cleaner::create
Overrides ContainerFactoryPluginInterface::create
File
-
core/
modules/ package_manager/ src/ Plugin/ QueueWorker/ Cleaner.php, line 28
Class
- Cleaner
- Processes a queue of defunct stage directories, deleting them.
Namespace
Drupal\package_manager\Plugin\QueueWorkerCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get(FileSystemInterface::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.