public function LinkCleanUp::processDelete in Link checker 8
Process link deletion.
Parameters
array $ids: Array of ids to delete.
1 call to LinkCleanUp::processDelete()
- LinkCleanUp::batchProcessDelete in src/
LinkCleanUp.php - Proccess link deletion within batch operation.
File
- src/
LinkCleanUp.php, line 73
Class
- LinkCleanUp
- Class LinkCleanUp.
Namespace
Drupal\linkcheckerCode
public function processDelete(array $ids) {
$storage = $this->entityTypeManager
->getStorage('linkcheckerlink');
$links = $storage
->loadMultiple($ids);
$storage
->delete($links);
}