You are here

function deploy_entity_delete in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 deploy.manager.inc \deploy_entity_delete()

Implements hook_entity_delete().

File

./deploy.manager.inc, line 163
Deploy module functions for handling managed entities in plans.

Code

function deploy_entity_delete($entity, $entity_type) {
  $plans = deploy_manager_plan_load_all();
  foreach ($plans as $plan) {
    deploy_manager_delete_from_plan($plan->name, $entity_type, $entity);
  }
}