function Comment::getHomepage
Same name in other branches
- 8.9.x core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\Comment::getHomepage()
- 10 core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\Comment::getHomepage()
- 11.x core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\Comment::getHomepage()
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.