You are here

public function CommentType::setDescription in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::setDescription()

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 89
Contains \Drupal\comment\Entity\CommentType.

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}