function Cleaner::__construct

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

core/modules/package_manager/src/Plugin/QueueWorker/Cleaner.php, line 22

Class

Cleaner
Processes a queue of defunct stage directories, deleting them.

Namespace

Drupal\package_manager\Plugin\QueueWorker

Code

public function __construct(array $configuration, string $plugin_id, mixed $plugin_definition, private readonly FileSystemInterface $fileSystem) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.