File Remove Disable
Categories
Component ID
1963860
Component name
File Remove Disable
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This utility module provides the ability to disable the "Remove" buttons next to a file list when editing a file field.
This module introduces a new 'Disable the "Remove" button in file listings' checkbox on the file widget settings page. If checked, users editing the values of that file field will not see the "Remove" button next to each file in the file upload widget.
This module also introduces a second 'Hide the "Operations" column if the "Remove" button is disabled, and no other operations exist.' checkbox, which does exactly what it says. This is achieved by overriding the core 'file_widget_multiple' theme function with a modified copy provided by this module, theme_file_remove_disable_widget_multiple().
