protected function FeedsRulesProcessor::entityDeleteMultiple in Feeds Rules 7
Deletes the log entities. Also initiates the revert component method, if it is configured.
File
- plugins/
FeedsRulesProcessor.inc, line 85 - Defines the Feeds Rules processor plugin.
Class
- FeedsRulesProcessor
- Feeds processor plugin to process a rules component for each feed items.
Code
protected function entityDeleteMultiple($entity_ids) {
// Revert components if configuration is set.
if (!empty($this->config['reverse-component']['component'])) {
foreach ($entity_ids as $entity_id) {
$this
->revertComponent($entity_id);
}
}
// Delete the entities.
return entity_delete_multiple('feeds_rules_action', $entity_ids);
}