You are here

public function DeleteFilesAction::__construct in Fancy File Delete 2.0.x

Constructs a new DeleteFilesAction action.

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.

\Drupal\fancy_file_delete\FancyFileDeleteBatch: The Batch Service.

Overrides PluginBase::__construct

File

src/Plugin/Action/DeleteFilesAction.php, line 44

Class

DeleteFilesAction
Deletes Files.

Namespace

Drupal\fancy_file_delete\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, FancyFileDeleteBatch $batch) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->batch = $batch;
}