You are here

function _addanother_message in Add Another 6

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

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

1 string reference to '_addanother_message'
addanother_form_alter in ./addanother.module
Implementation of hook_form_alter().

File

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

Code

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