Overriding a module in sites/all

Occasionally developers need a patched (non-stable) version of a module. The way to to this is to  add it via git to the sub sites docroot.

  1. In this case go the site in your git repository

    ucsfp1/docroot/sites/mysite.ucsf.edu/modules
     
  2. Create a "patched" folder and upload the patched module into it

    ucsfp1/docroot/sites/mysite.ucsf.edu/modules/patched

     
  3. Commit via git.
  4. Run update on the site
  5. The subsite specific module should override the module found in sites/all