function CommentInterface::permalink

Same name and namespace in other branches
  1. 9 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::permalink()
  2. 10 core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::permalink()
  3. 11.x core/modules/comment/src/CommentInterface.php \Drupal\comment\CommentInterface::permalink()

Returns the permalink URL for this comment.

Return value

\Drupal\Core\Url

1 method overrides CommentInterface::permalink()
Comment::permalink in core/modules/comment/src/Entity/Comment.php
Returns the permalink URL for this comment.

File

core/modules/comment/src/CommentInterface.php, line 249

Class

CommentInterface
Provides an interface defining a comment entity.

Namespace

Drupal\comment

Code

public function permalink();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.