You are here

function yamlform_update_8035 in YAML Form 8

Issue #2778857: Description of elements.

File

includes/yamlform.update.inc, line 770
YAML Form module update hooks.

Code

function yamlform_update_8035() {

  // Update 'yamlform.settings' configuration.
  $settings_config = \Drupal::configFactory()
    ->getEditable('yamlform.settings');
  $settings_config
    ->set('elements.default_description_display', '');
  $settings_config
    ->save();
}