Returns the permalink URL for this comment.
array An array containing the 'path' and 'options' keys used to build the URI of the comment, and matching the signature of UrlGenerator::generateFromPath().
Overrides CommentInterface::permalink
public function permalink() {
$url['path'] = 'node/' . $this->nid->value;
$url['options'] = array(
'fragment' => 'comment-' . $this
->id(),
);
return $url;
}