{
// etc above ...
"extra": {
"patches": {
"drupal/webform": {
"Field no longer required after editing.": "https://www.drupal.org/files/issues/2019-01-30/3029543-6.patch"
}
},
}
// etc below....
}composer.json add the new object to extra.patches.composer installcomposer.lock file to update itself with the new patch.composer update --lock if so.extra.patches.composer installcomposer.lock by runing composer update --lock.rm -rf the module and rerun composer install.{
"extra": {
"patches": {
"path/to/module": {
"Description": "https://link.com/to/patch"
}
},
}
}
path/to/module - Same as it is in the require object.
Description - Title of issue thread.
https://link.com/to/patch - Link to patch file from issue thread.