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 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. */