function thunder_media_update_8107 in Thunder 8.2
Introduce enable_filefield_remove_button config item.
File
- modules/
thunder_media/ thunder_media.install, line 928 - Contains.
Code
function thunder_media_update_8107() {
$config = Drupal::configFactory()
->getEditable('thunder_media.settings');
if ($config
->get('enable_filefield_remove_button') === NULL) {
$config
->set('enable_filefield_remove_button', FALSE)
->save();
}
}