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

1
2
3
4
public function setDescription($description) {
  $this->description = $description;
  return $this;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.