Community Documentation

Converting 4.0.x modules to 4.1.x

Last updated February 20, 2008. Created by kika on December 9, 2002.
Edited by webchick, puregin. Log in to edit this page.

Drupal 4.1 changed the block hook function and taxonomy API. To convert a version 4.0 module to 4.1, the following changes must be made. First, the *_block() function must be re-written. Next, calls to taxonomy_get_tree() must be re-written to supply the parameters required by the new function. Finally, you may wish to take advantage of new functions added to the taxonomy API.

Archive

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