CHAPTER 2Writing a Module
In many open source applications, you can customize the application by modifying the source code. While this is one method for getting the behavior you desire, it is generally frowned upon and considered a last resort in the Drupal community. Customizing code means that with each update of Drupal, you must perform more work—you must test to see that your customization still works as expected. Instead, Drupal is designed from the ground up to be modular and extensible.
Drupal is a very lean framework for building applications and the default installation is referred to as the Drupal core. Functionality is added to the core by enabling modules, which are files that contain PHP code. Core modules reside in the modules ...
Get Pro Drupal Development, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.