You are here

function social_path_manager_entity_delete in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  2. 8.5 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  3. 8.7 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  4. 8.8 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  5. 10.3.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  6. 10.0.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  7. 10.1.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
  8. 10.2.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()

Implements hook_entity_delete().

File

modules/custom/social_path_manager/social_path_manager.module, line 71
The Social Path Manager module.

Code

function social_path_manager_entity_delete(EntityInterface $entity) {
  _social_path_manager_update_alias($entity, 'delete');
}