Skip to content

Commit

Permalink
Issue #294: Done in PR #295
Browse files Browse the repository at this point in the history
  • Loading branch information
lexhouk authored Aug 2, 2024
2 parents 7983c57 + ee1ead7 commit fce0e53
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Update module
about: Refresh an existing contrib module to a newer version.
name: Update classic module
about: Refresh an existing contrib module to a newer version where version names still use prefixes based on Drupal core.
title: Update "NAME" module from CURRENT to NEWER
labels: update
assignees: ''
Expand Down
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/update-module-modern.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Update modern module
about: Refresh an existing contrib module to a newer version where a prefix based on Drupal core is absent in version names.
title: Update "NAME" module from CURRENT to NEWER
labels: update
assignees: ''

---

Update [NAME](https://www.drupal.org/project/KEY) module from **CURRENT** to **NEWER**. Compare versions [here](https://git.drupalcode.org/project/KEY/-/compare/CURRENT...NEWER).
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"drupal/symfony_mailer": "1.3.2"
},
"require-dev": {
"drupal/config2php": "3.0.0",
"drupal/config2php": "3.0.2",
"twbs/bootstrap-sass": "3.4.3"
},
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion d8.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: The installation profile for CMS Drupal 10 based on the most common

type: profile
core_version_requirement: ^10.2
version: 0.19.1.170
version: 0.19.2.171

distribution:
name: D8+
Expand Down
10 changes: 10 additions & 0 deletions d8.install
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ function d8_update_10202(array &$sandbox): void {
\Drupal::classResolver(D8Setup::class)->module('d8_link');
}

/**
* Uninstall deprecated modules.
*/
function d8_update_10203(array &$sandbox): void {
foreach (['blocks_d8_theme', 'blocks_seven', 'menus', 'settings'] as $name) {
\Drupal::classResolver(D8Setup::class)
->module('d8_feature_' . $name, uninstall: TRUE);
}
}

/**
* Process list of update hooks.
*
Expand Down
2 changes: 1 addition & 1 deletion modules/features/d8_config2php/d8_config2php.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Provides a wrapper for the Config Export to PHP array module.
package: D8+

type: module
core_version_requirement: ^10
core_version_requirement: ^10 || ^11

dependencies:
- config2php:config2php

0 comments on commit fce0e53

Please sign in to comment.