|
|
@ -781,7 +781,7 @@ class IslandoraUtils { |
|
|
|
* @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException |
|
|
|
* @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException |
|
|
|
* @throws \Drupal\Core\Entity\EntityStorageException |
|
|
|
* @throws \Drupal\Core\Entity\EntityStorageException |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function deleteMediaAndFiles($media) { |
|
|
|
public function deleteMediaAndFiles(array $media) { |
|
|
|
$results = []; |
|
|
|
$results = []; |
|
|
|
$delete_media = []; |
|
|
|
$delete_media = []; |
|
|
|
$delete_files = []; |
|
|
|
$delete_files = []; |
|
|
|