Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2009 at 04:21 UTC
Updated:
29 Jul 2014 at 18:27 UTC
Comment module has a lot of:
$variables['permalink'] = l('#', 'comment/' . $comment->cid, array('fragment' => "comment-$comment->cid"));
It'd be much nicer to be able to do:
comment_permalink($text, $cid);
instead.
Comments
Comment #1
dddave commentedIs this still relevant?
Comment #2
catchIt's not! entity_uri() did this already.