public function CommentTypeInterface::setDescription in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/CommentTypeInterface.php \Drupal\comment\CommentTypeInterface::setDescription()
- 9 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);