Apply Patches
Apply patches for Subrequests and Decoupled Router modules
At the time of this writing, there are two patches we need to wire everything together.
- Open your Drupal
composer.json
file. - Add the following patches under
"extra"
.
composer.json
"extra": { "patches": { "drupal/subrequests": { "Get same results on different request": "https://www.drupal.org/files/issues/2019-07-18/change_request_type-63049395-09.patch" }, "drupal/decoupled_router": { "Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2022-11-30/decouple_router-3111456-resolve-language-issue-58.patch" } },}
Note: If you're not using multilingual features such as translation, you can skip the second patch.
- Run the following command:
composer require cweagans/composer-patches
You can read more about the patches here: