Variable Status

Component ID

2896040

Component name

Variable Status

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

69

Component created

Component changed

Component body

Values set in the admin UI using a system_settings_form() are stored directly into the variables table in the database. These values can be locked down by defining them in the $conf array in your settings.php file, but that is not reflected in the UI, which makes for some frustrating user experiences.

This module will disable and mark the form fields in system_settings_form() implementations if they are defined in the settings.php file and thus cannot be changed. Additionally, any values stored in Strongarm settings will also be disabled and marked, but with an exception by permission so users with privileged roles can override those values.