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

  • Modules that use theme('error', ...) to print error messages should be updated to use drupal_set_message(..., 'error') unless used to print an error message below a form item.
    drupal_set_message(t('failed to update X', 'error'));  // set the second parameter to 'error'
  • Modules that print status messages directly to the screen using status() should be updated to use drupal_set_message(). The status() function has been removed.
    drupal_set_message(t('updated X'));

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