Support Drupal 10 and update all use of deprecation in the Vartheme BS4 theme

Created on 5 May 2022, about 2 years ago
Updated 30 May 2023, about 1 year ago

Problem/Motivation

Drupal 10.0 development β†’

Thank you so much for the Drupal Core team

Following with

Drupal 10.0.0 is coming soon. Help us test it today!

A snapshot to allow module and theme developers to test compatibility with the next major release. No upgrade path is provided between alpha releases and many additional changes will be included prior to 10.0.0.

Proposed resolution

  • Support Drupal ~10 and change all deprecated packages, classes, functions, asset libraries to the Drupal 10 way
  • Real physical testing with Drupal ~10
  • Automated upgrade to Drupal ~10

Further drupal-check on

composer create-project drupal/recommended-project:~9 /var/www/html/sandboxes/drupal9vartheme_bs4

cd /var/www/html/sandboxes/drupal9vartheme_bs4/

composer config minimum-stability dev

composer require drupal/vartheme_bs4:9.0.x-dev

composer require drupal/core-dev:~9 --with-all-dependencies
composer require mglaman/drupal-check --dev
composer require phpspec/prophecy-phpunit:^2 --dev

php vendor/bin/drupal-check -d web/themes/contrib/vartheme_bs4/

Output:

5/5 [β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“] 100%


 [OK] No errors                                                                 

Thanks for using drupal-check!

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Addition/Change/Update/Fix to this project
  • βœ… Testing to ensure no regression
  • βž– Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βž– Accessibility and Readability
  • βœ… Code review from 1 Varbase core team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Update Release Notes and Update Helper on new feature change/addition
  • βœ… Release varbase-9.0.7 β†’ , varbase-10.0.0-alpha1, vartheme_bs4-9.0.15 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3279038 β†’ : Support Drupal 10 and update all use of deprecation in the Vartheme BS4 theme
πŸ“Œ Task
Status

Fixed

Version

9.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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.

Production build 0.69.0 2024