function CommentType::setDescription
Same name in other branches
- 9 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::setDescription()
- 8.9.x core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::setDescription()
- 10 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::setDescription()
Overrides CommentTypeInterface::setDescription
File
-
core/
modules/ comment/ src/ Entity/ CommentType.php, line 94
Class
- CommentType
- Defines the comment type entity.
Namespace
Drupal\comment\EntityCode
public function setDescription($description) {
$this->description = $description;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.