Last updated February 19, 2008. Created on May 30, 2005.
Edited by ax, Dries. Log in to edit this page.

The node system has been upgraded to allow a single module to define more than one type of node. This will allow some of the more convoluted code in, for example, project.module to be tidied up.

  • The _node() hook has been deprecated. In its place, modules that define nodes should use _node_name() and _help().
  • The _node_name() function should return a translated string containing the human-readable name of the node type.
  • The _help() function, when called with parameter "node/add#modulename", should return a translated string containing the description of the node type.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.