How to create a patch for a Drupal module that is not in version control

Опубликовано: 15 Октябрь 2024
на канале: Stef Van Looveren
3,514
25

The following use case can occur when developing drupal: you want to patch a module, but it is a contrib module that is not in version control (it is ignored by git and gets downloaded on build). Therefore you can not use the standard GIT commands for creating a patch.

end result: I added the patch to the issue queue: https://www.drupal.org/project/facets...

Guiding blog post: https://stefvanlooveren.me/blog/how-c...

👉 New! My first video course is ready! Drupal 9 module development: introduction to custom entities: https://www.udemy.com/course/drupal-9...

👉 If you are interested in learning more, check out my E-book: https://stefvanlooveren.me/courses/dr...

Has this video helped you? Share in the comments!

Saved you some valuable time? 🕒🧑‍💼
Donate and I'll post more time-saving screencasts in the future.
https://www.paypal.com/donate?hosted_...