Skip to content

Commit

Permalink
Merge branch 'f/OS-61_cache_control_override' into release/1.14.0
Browse files Browse the repository at this point in the history
* f/OS-61_cache_control_override:
  OS-61 adding updating CHANGELOG
  OS-61 - dependency on cache_control_override, enabling on install

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
stankut committed Oct 3, 2023
2 parents dd37993 + 752ce79 commit 3ede86a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ before starting to add changes.
## [Unreleased]

- 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

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions os2forms_forloeb_profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}

/**
Expand Down

0 comments on commit 3ede86a

Please sign in to comment.