You are here

public function DeleteFile::execute in Panopoly 8.2

Executes the plugin.

Overrides ExecutableInterface::execute

File

modules/panopoly/panopoly_media/src/Plugin/Action/DeleteFile.php, line 85

Class

DeleteFile
Deletes a file.

Namespace

Drupal\panopoly_media\Plugin\Action

Code

public function execute($entity = NULL) {
  $this
    ->executeMultiple([
    $entity,
  ]);
}