The upgrade of Drupal Starter Kits from 1.x to 2.x changes it from a profile to a module. The Drupal Starter Kits 2.x module retains all the required dependencies previously available in the Drupal Starter Kits 1.x profile. When you upgrade to Drupal Starter Kits 2.x, you can use the latest features of the composable architecture.
Prerequisites
- Update your PHP version as follows:
If you upgrade Drupal core to the latest version of 10.x, update the PHP version to 8.1 with the following command:
composer config platform.php 8.1
If you upgrade Drupal core to the latest version of 11.x, update the PHP version to 8.3 with the following command:
composer config platform.php 8.3
- Take a backup of database and configuration of your site.
- Complete your site setup as mentioned in Studio configuration management strategy.
- Install
drush
as part of your Drupal codebase so that you can run all drush commands from the./vendor/bin/drush
directory.
Upgrade checklist
To upgrade Drupal Starter Kits to 2.x, complete the following tasks: