public function Comment::getHomepage in Drupal 9
Same name and namespace in other branches
- 8 core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\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
1 call to Comment::getHomepage()
- Comment::getOwner in core/
modules/ comment/ src/ Entity/ Comment.php - Returns the entity owner's user entity.
File
- core/
modules/ comment/ src/ Entity/ Comment.php, line 438
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\EntityCode
public function getHomepage() {
return $this
->get('homepage')->value;
}