function addanother_goto in Add Another 7.2
Same name and namespace in other branches
- 6 addanother.module \addanother_goto()
- 7 addanother.module \addanother_goto()
Takes the user to the node creation page for the type of a given node.
1 string reference to 'addanother_goto'
- addanother_menu in ./
addanother.module - Implements hook_menu().
File
- ./
addanother.module, line 66 - The main file for the addanother module.
Code
function addanother_goto($node) {
drupal_goto('node/add/' . _addanother_node_type_url($node->type));
}