Updates needed for Drupal 9 Compatibility

Created on 10 September 2021, about 3 years ago
Updated 19 July 2023, over 1 year ago

Problem/Motivation

Drupal 9 requires that core_version_requirement: ^8 || ^9 be defined in the info.yml file of all modules and themes.

Methods for scanning and writing to folders and directories needed to be updated to use Drupal 9 friendly methods

Methods for loading form alter hooks needed to be updated to use Drupal 9 friendly methods

Proposed resolution

Add core_version_requirement: ^8 || ^9 to the info.yml file

Update methods for scanning and writing to folders and directories to be Drupal 9 friendly

Update methods for loading form alter hooks to be Drupal 9 friendly

πŸ“Œ Task
Status

Needs review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States juliekramer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada JayDarnell Guelph, Ontario

    While this issue is technically for Drupal 9 compatibility, I'm going to reroll the patch above to hopefully support the 8.x-1.x branch in Drupal 10 as well. This will give folks who may still be running on this older branch of USWDS a stop gap for D10 support until they can upgrade any custom themes they have based on USWDS to use the latest release.

  • πŸ‡¨πŸ‡¦Canada JayDarnell Guelph, Ontario

    Attempted reroll for D10 compatibility

  • πŸ‡¨πŸ‡¦Canada JayDarnell Guelph, Ontario

    Had to add in the # for a couple lines in the info.yml which are added by the drupal.org packaging script for the patch to take:

  • πŸ‡¨πŸ‡¦Canada JayDarnell Guelph, Ontario

    Once more for good measure as I overlooked one of the previous changes:

Production build 0.71.5 2024