function comment_node_url
6.x comment.module | comment_node_url() |
A simple helper function.
Return value
The 0th and the 1st path components joined by a slash.
2 calls to comment_node_url()
- comment_links in drupal-6.x/
modules/ comment/ comment.module - Build command links for a comment (e.g.\ edit, reply, delete) with respect to the current user's access permissions.
- template_preprocess_comment_folded in drupal-6.x/
modules/ comment/ comment.module - Process variables for comment-folded.tpl.php.
File
- drupal-6.x/
modules/ comment/ comment.module, line 675 - Enables users to comment on published content.
Code
function comment_node_url() {
return arg(0) . '/' . arg(1);
}