Apply Patches
Apply patches for Subrequests and Decoupled Router modules
At the time of this writing, a patch is required in order to use multilingual features such as translation.
Note: If you're not using multilingual features such as translation, you can skip this step.
- Open your Drupal
composer.json
file. - Add the following patch under
"extra"
.
TODO - validate that these patches are necessary and correct.
composer.json
"extra": { "patches": { "drupal/decoupled_router": { "Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2024-10-22/decoupled_router-3111456-resolve-langcode-issue-78--external-redirects.patch" } },}
- Run the following command:
composer require cweagans/composer-patches
You can read more about the patch here: