You are here

function _addanother_message in Add Another 5

Same name and namespace in other branches
  1. 6 addanother.module \_addanother_message()

Display the Add Another message if set by addanother_nodeapi().

File

./addanother.module, line 94
Presents users with an option to create another node of the same type after a node is added.

Code

function _addanother_message($form) {
  global $_addanother_message;
  if (isset($_addanother_message)) {
    drupal_set_message($_addanother_message, 'status', FALSE);
  }
}