- Issue created by @sijumpk
- 🇮🇳India sijumpk
When an automator is deleted, any related actions used in field widgets are now automatically removed as well. This has been implemented using hook_entity_predelete within the field_widget_actions module to maintain a clear separation between the AI Automators and Field Widget Actions modules. Please review.
- Merge request !806Adding actions removing functionality on automator removal, need to move this... → (Open) created by sijumpk
- 🇮🇳India anjaliprasannan
Reviewed the fix. Code LGTM.
Fix is working fine. - 🇩🇪Germany marcus_johansson
This one is reversed logic - we should not have dependencies to AI Automators in Field Widget Actions, its the AI Automators that is using Field Widget Actions. So, the logic of removal needs to go into the AI Automators.
- 🇮🇳India sarvjeetsingh
- Moved hook_entity_predelete from field_widget_actions to ai_automators
- Created FieldWidgetActionCleanupService to handle cleanup
- Added null checking in AutomatorBaseAction