function _addanother_node_type_url

cis7 addanother.module _addanother_node_type_url($type)
cle7 addanother.module _addanother_node_type_url($type)
elmsmedia7 addanother.module _addanother_node_type_url($type)
icor7 addanother.module _addanother_node_type_url($type)
meedjum_blog7 addanother.module _addanother_node_type_url($type)
mooc7 addanother.module _addanother_node_type_url($type)

Returns node type string acceptable for URL.

2 calls to _addanother_node_type_url()
addanother_goto in sites/all/modules/ulmus/addanother/addanother.module
Takes the user to the node creation page for the type of a given node.
_addanother_node_add_path in sites/all/modules/ulmus/addanother/addanother.module
Return the best possible path to provide to the user to create another node.

File

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

Code

function _addanother_node_type_url($type) {
  return str_replace('_', '-', $type);
}
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.