public Comment::getThread()
Returns the alphadecimal representation of the comment's place in a thread.
Return value
string The alphadecimal representation of the comment's place in a thread.
Overrides CommentInterface::getThread
File
- core/modules/comment/src/Entity/Comment.php, line 495
Class
- Comment
- Defines the comment entity class.
Namespace
Drupal\comment\Entity
Code
1 2 3 4 5 6 | public function getThread() { $thread = $this ->get( 'thread' ); if (! empty ( $thread ->value)) { return $thread ->value; } } |
Please login to continue.