Add a command to update the version of Drupal core installed via Composer so you can easily switch between supported versions, e.g., 10 and 11, for testing
$ ddev help xb-core-set-version
Change the version of Drupal core. (shell web container command)
Usage:
ddev xb-core-set-version <core-version> [flags]
Aliases:
xb-core-set-version, core
Examples:
ddev core ^11 # Use the latest 11.x.
ddev core 11.0.7 # Use a specific version.
ddev core "^10 || ^11" # Use the latest 10.x or 11.x.
Flags:
-h, --help help for xb-core-set-version
Global Flags:
-j, --json-output If true, user-oriented output will be in JSON format.
--skip-hooks If true, any hook normally run by the command will be skipped.
Add a command to update the version of Drupal core installed via Composer so you can easily switch between supported versions, e.g., 10 and 11, for testing