From 6343e401392061d4b6e59abf87f4d54e9d1de3f9 Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Fri, 29 Sep 2023 14:40:29 +0300 Subject: [PATCH 1/2] OS-60 disabling webform_embed --- modules/os2forms_forloeb/os2forms_forloeb.info.yml | 1 - os2forms.info.yml | 1 - os2forms.install | 9 +++++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/os2forms_forloeb/os2forms_forloeb.info.yml b/modules/os2forms_forloeb/os2forms_forloeb.info.yml index 3796741f..cd582bf3 100644 --- a/modules/os2forms_forloeb/os2forms_forloeb.info.yml +++ b/modules/os2forms_forloeb/os2forms_forloeb.info.yml @@ -35,7 +35,6 @@ dependencies: - 'drupal:webform_access' - 'drupal:webform_attachment' - 'drupal:webform_composite' - - 'drupal:webform_embed' - 'drupal:webform_entity_print' - 'drupal:webform_entity_print_attachment' - 'drupal:webform_migrate' diff --git a/os2forms.info.yml b/os2forms.info.yml index 078e8045..5745e736 100644 --- a/os2forms.info.yml +++ b/os2forms.info.yml @@ -17,7 +17,6 @@ dependencies: - 'drupal:webform_submission_log' - 'drupal:webform_templates' - 'drupal:webform_composite' - - 'drupal:webform_embed' - 'drupal:entity_print' - 'drupal:webform_migrate' - 'drupal:redirect' diff --git a/os2forms.install b/os2forms.install index 74a02849..fe2c0018 100644 --- a/os2forms.install +++ b/os2forms.install @@ -169,6 +169,15 @@ function os2forms_update_8904() { os2forms_read_in_new_config('pathauto.pattern.os2forms_wf_webforms'); } +/** + * Implements hook_update_N(). + * + * Uninstalling webform_embed module. + */ +function os2forms_update_8905() { + \Drupal::service('module_installer')->uninstall(['webform_embed']); +} + /** * Creates a list of predefined terms for Application vocabulary. */ From 5eb78315c1790399159f3371f53ea05b20871866 Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Fri, 29 Sep 2023 14:41:59 +0300 Subject: [PATCH 2/2] OS-60 updating changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a367903f..b30f2411 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ before starting to add changes. Use example [placed in the end of the page](#exa ## [Unreleased] +- Removing webform_embed + +## [3.11.0] 2023-09-25 + - [OS-58] New company address fields - Custom permissions by term field - Removing dependency to config_entity_revisions, webform_revisions, coc_forms_auto_export