CommentType::setDescription

public CommentType::setDescription($description)

Sets the description of the comment type.

Parameters

string $description: The new description.

Return value

$this

Overrides CommentTypeInterface::setDescription

File

core/modules/comment/src/Entity/CommentType.php, line 84

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}
doc_Drupal
2016-10-29 08:51:11
Comments
Leave a Comment

Please login to continue.