function _addanother_node_type_url in Add Another 7.2
Returns node type string acceptable for URL.
2 calls to _addanother_node_type_url()
- addanother_goto in ./
addanother.module - Takes the user to the node creation page for the type of a given node.
- _addanother_node_add_path in ./
addanother.module - Return the best possible path to provide to the user to create another node.
File
- ./
addanother.module, line 315 - The main file for the addanother module.
Code
function _addanother_node_type_url($type) {
return str_replace('_', '-', $type);
}