function activity_creator_entity_delete in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.2 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.3 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.4 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.5 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.6 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.7 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 8.8 modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 10.3.x modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 10.1.x modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
- 10.2.x modules/custom/activity_creator/activity_creator.module \activity_creator_entity_delete()
Implements hook_entity_delete().
Delete activity items when related entities are deleted.
File
- modules/
custom/ activity_creator/ activity_creator.module, line 297 - Activity Creator module file.
Code
function activity_creator_entity_delete(EntityInterface $entity) {
_activity_creator_activity_for_entity_updater('delete', $entity);
}