Community Documentation

Updating your modules

Last updated February 12, 2010. Created by Robert Castelo on November 20, 2004.
Edited by solotandem, bryan kennedy, LeeHunter, ax. Log in to edit this page.

As Drupal develops with each release it becomes necessary to update modules to take advantage of new features and stay functional with Drupal's API.

The Coder project provides automated tools to assist you with the process of updating a module. From Drupal 5.x on, the Coder Review module can assist with a module upgrade by reviewing a module's code for things that need to be updated between versions. Beginning with Drupal 7.x, the Coder Upgrade module can assist with a module upgrade by changing a module's code to correspond to a new API version. While not perfect, these two modules can greatly assist you with the process of updating a module.

Lullabot features a useful video tutorial on how to upgrade your Drupal module to a new version.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 4.5.x or older, Drupal 4.6.x, Drupal 4.7.x, Drupal 5.x, Drupal 6.x, Drupal 7.x
Audience
Programmers
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here