function yamlform_update_8066 in YAML Form 8
Issue #2825278: Add settings to suppress CDN warning on Status Report.
File
- includes/
yamlform.update.inc, line 1307 - YAML Form module update hooks.
Code
function yamlform_update_8066(&$sandbox) {
// Update 'yamlform.settings' configuration.
$settings_config = \Drupal::configFactory()
->getEditable('yamlform.settings');
$settings_config
->set('library.cdn', FALSE);
$settings_config
->save();
}