Comment::setThread

public Comment::setThread($thread)

Sets the alphadecimal representation of the comment's place in a thread.

Parameters

string $thread: The alphadecimal representation of the comment's place in a thread.

Return value

$this The class instance that this method is called on.

Overrides CommentInterface::setThread

File

core/modules/comment/src/Entity/Comment.php, line 505

Class

Comment
Defines the comment entity class.

Namespace

Drupal\comment\Entity

Code

public function setThread($thread) {
  $this->set('thread', $thread);
  return $this;
}
doc_Drupal
2016-10-29 08:50:25
Comments
Leave a Comment

Please login to continue.