function social_path_manager_entity_delete in Open Social 8.6
Same name and namespace in other branches
- 8.9 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 8.5 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 8.7 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 8.8 modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 10.3.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 10.0.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 10.1.x modules/custom/social_path_manager/social_path_manager.module \social_path_manager_entity_delete()
- 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');
}