Skip to content

Instantly share code, notes, and snippets.

@kekkis
Created September 6, 2016 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kekkis/c18093069364317ede51e78696336b35 to your computer and use it in GitHub Desktop.
Save kekkis/c18093069364317ede51e78696336b35 to your computer and use it in GitHub Desktop.
Adding a patch to a contrib module in lightning
diff --git a/src/drupal.composer.json b/src/drupal.composer.json
index bfd4b89..cb77d81 100644
--- a/src/drupal.composer.json
+++ b/src/drupal.composer.json
@@ -65,6 +65,11 @@
"type:drupal-drush"
]
},
- "enable-patching": true
+ "enable-patching": true,
+ "patches": {
+ "drupal/metatag": {
+ "Deactivate DrupalConsole Services from Metatag to unbreak drush": "https://www.drupal.org/files/issues/metatag-deactivate_drupalconsole_services_0.patch"
+ }
+ }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment