public function CommentInterface::permalink

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().

1 method overrides CommentInterface::permalink()
Comment::permalink in drupal/core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php
Returns the permalink URL for this comment.

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();