function yamlform_update_8043 in YAML Form 8
Issue #2783785: Add html editor to UI.
File
- includes/
yamlform.update.inc, line 862 - YAML Form module update hooks.
Code
function yamlform_update_8043(&$sandbox) {
// Update 'yamlform.settings' configuration.
$settings_config = \Drupal::configFactory()
->getEditable('yamlform.settings');
$settings_config
->set('ui.html_editor_disabled', FALSE);
$settings_config
->save();
}