When to write a patch and when to write a custom module.

To Patch a contrib module or write a custom module, that is the question. With over 25,000 contrib modules available for download it is rare to find one that does not offer the functionality you are looking for. However, when you cannot find a module that fits your needs you are then faced with a choice. Do you patch an existing contrib module? Or write a custom module? In this session we will go over basic guidelines to help quickly determine when it is appropriate to patch a contrib module or go through the process of writing your own. We will talk about the basics and best practices of writing a patch, and the best practices to follow if you decide to pursue writing a custom module.

In this session we will cover;

  • How to determine when to patch a contrib module or write a custom module.
  • Basics and best practices for writing a patch.
  • Basics and best practices for writing a custom module.
Schedule info
Experience level: 
Beginner
Drupal Version: 
N/A