How to organize your Drupal modules

Public

Get raw version
text
  1. Best practice should be to do something along the lines of placing inside your sites/all/modules folder the following folders:
  2.  
  3. contrib All unmodified contributed modules
  4. patched All patched contributed modules belong here
  5. patches All patches for the patched modules belong here and should go into a subfolder of module name, so something like patches/[module]/0001-[description].patch
  6. custom All custom bespoke modules belong here. Follow a naming convention {project initials or short name}_{purpose} for naming custom modules.
  7. development For all modules that are related to development activities such as coder, devel, etc.
  8. features For modules that are created by the features module.