Develop
Patch a project

Patch a Drupal project

Patches can be provided by or to the community to deliver a fix or a new feature to a Drupal project. The scope can be a core or contributed project patch.

On a Drupal.org issue, there are 2 ways to get a patch

  1. Via a patch file, attached to the issue
  2. Via a git branch / Merge request on GitLab

On the first case, you can just reference the patch file, locally or on Drupal.org via an absolute url.

For the second case, you should always download it as the Merge Request might evolve, so the codebase change is not set in stone. To download it locally, just append the .patch extension to the Merge Request url.

Example:

For this issue (opens in a new tab) we have

Read more