function CommentTypeInterface::setDescription
Same name in other branches
- 9 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::setDescription()
- 10 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::setDescription()
- 11.x core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::setDescription()
Sets the description of the comment type.
Parameters
string $description: The new description.
Return value
$this
1 method overrides CommentTypeInterface::setDescription()
- CommentType::setDescription in core/
modules/ comment/ src/ Entity/ CommentType.php - Sets the description of the comment type.
File
-
core/
modules/ comment/ src/ CommentTypeInterface.php, line 28
Class
- CommentTypeInterface
- Provides an interface defining a comment type entity.
Namespace
Drupal\commentCode
public function setDescription($description);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.