public Comment::getHomepage()
Returns the comment author's home page address.
For anonymous authors, this is the value as typed in the comment form.
Return value
string The homepage address of the author of the comment.
Overrides CommentInterface::getHomepage
File
core/modules/comment/src/Entity/Comment.php, line 425
Class
Comment Defines the comment entity class.
Namespace
Drupal\comment\Entity
Code
public function getHomepage() {
return $this->get('homepage')->value;
}