public function FlexiformController::delete in Flexiform 7
Overridden to care about reverted entities.
Overrides EntityAPIControllerExportable::delete
File
- ./
flexiform.entity.inc, line 256 - flexiform.entity.inc
Class
- FlexiformController
- The Controller for FlexiformSubmission entities
Code
public function delete($ids, DatabaseTransaction $transaction = NULL) {
parent::delete($ids, $transaction);
db_delete('flexiform_tags')
->condition('id', $ids)
->execute();
db_delete('flexiform_display')
->condition('id', $ids)
->execute();
}