Skip to content
Merged
7 changes: 7 additions & 0 deletions public/modules/custom/grants_handler/grants_handler.install
Original file line number Diff line number Diff line change
Expand Up @@ -379,3 +379,10 @@ function grants_handler_update_9009(&$sandbox): void {
// Enable the grants_attachments module.
\Drupal::service('module_installer')->install(['grants_events']);
}

/**
* Manually trigger locale translation.
*/
function grants_handler_update_9010(&$sandbox): void {
_locale_parse_js_file('modules/custom/grants_handler/js/webform.form.unsaved.js');
}