diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ff2c0a..f92ea0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ before starting to add changes. ## [Unreleased] +## [1.14.0] - 03.10.2023 + +- webform_embded remove +- Adding cache_control_override as a soft dependency (composer only) +- Installing cache_control_override module on hook_install + ## [1.13.0] - 25.09.2023 - Fixed missing icons on administration menu diff --git a/composer.json b/composer.json index c80dec7..3793772 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ "drupal/core": "^9", "drush/drush": "^11.4", "os2forms/os2forms": "^3.6", - "os2web/os2web_simplesaml": "8.x-dev" + "os2web/os2web_simplesaml": "8.x-dev", + "drupal/cache_control_override": "^1.1|^2.0" }, "require-dev": { "drupal/coder": "^8.3", diff --git a/os2forms_forloeb_profile.info.yml b/os2forms_forloeb_profile.info.yml index 6154e15..d01b658 100644 --- a/os2forms_forloeb_profile.info.yml +++ b/os2forms_forloeb_profile.info.yml @@ -83,7 +83,6 @@ install: - webform_access - webform_attachment - webform_composite - - webform_embed - webform_entity_print - webform_entity_print_attachment - webform_migrate diff --git a/os2forms_forloeb_profile.install b/os2forms_forloeb_profile.install index 9a3d6a5..97cd91c 100644 --- a/os2forms_forloeb_profile.install +++ b/os2forms_forloeb_profile.install @@ -41,6 +41,9 @@ function os2forms_forloeb_profile_install() { ->set('default', 'gin') ->set('admin', 'gin') ->save(); + + // Enable recommended (but optional) modules. + \Drupal::service('module_installer')->install(['cache_control_override']); } /**