Returns the permalink URL for this comment.
Return value
array
An array containing the 'path' and 'options' keys used to build the URI
of the comment, and matching the signature of
UrlGenerator::generateFromPath().
File
- drupal/core/modules/comment/lib/Drupal/comment/CommentInterface.php, line 25
- Contains \Drupal\comment\Plugin\Core\Entity\CommentInterface.
Class
- CommentInterface
- Provides an interface defining a comment entity.
Namespace
Drupal\comment
Code
public function permalink();