ryssbowh / craft-restrict-deletions
View elements relations and restrict deletion of elements when they are referenced in other elements
Package info
github.com/ryssbowh/craft-restrict-deletions
Type:craft-plugin
pkg:composer/ryssbowh/craft-restrict-deletions
3.0.1
2024-05-15 04:55 UTC
Requires
- craftcms/cms: ^5.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This plugin can prevent deletion of elements (entries, assets, categories, products and users) if they are referenced in other elements.
The idea is taken from the plugin Restrict Asset Delete, improved to apply to all elements, and made Craft 4/5 ready.
Installation
composer require ryssbowh/craft-restrict-deletions:^3.0