public Comment::getSubject()
Returns the subject of the comment.
Return value
string The subject of the comment.
Overrides CommentInterface::getSubject
File
- core/modules/comment/src/Entity/Comment.php, line 379
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Entity
Code
public function getSubject() { return $this->get('subject')->value; }
Please login to continue.