You are here

function yamlform_update_8063 in YAML Form 8

Issue #2821781: Provide a document exporter.

File

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

Code

function yamlform_update_8063() {
  $settings_config = \Drupal::configFactory()
    ->getEditable('yamlform.settings');
  $settings_config
    ->set('export.file_name', 'submission-[yamlform_submission:serial]');
  $settings_config
    ->save();
}