function addanother_node_form_message_submit

cis7 addanother.module addanother_node_form_message_submit($form, &$form_state)
cle7 addanother.module addanother_node_form_message_submit($form, &$form_state)
elmsmedia7 addanother.module addanother_node_form_message_submit($form, &$form_state)
icor7 addanother.module addanother_node_form_message_submit($form, &$form_state)
meedjum_blog7 addanother.module addanother_node_form_message_submit($form, &$form_state)
mooc7 addanother.module addanother_node_form_message_submit($form, &$form_state)

Submit handler if the normal submit button was pressed, however the node has the 'message' feature enabled.

1 string reference to 'addanother_node_form_message_submit'
addanother_form_alter in sites/all/modules/ulmus/addanother/addanother.module
Implement hook_form_alter().

File

sites/all/modules/ulmus/addanother/addanother.module, line 167
Presents users with an option to create another node of the same type after a node is added.

Code

function addanother_node_form_message_submit($form, &$form_state) {
  if ($node = _addanother_get_node_from_form_state($form_state)) {
    _addanother_quelch_message($node);
    theme('addanother_message_message', array('node' => $node));
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.