You are here

public function CommentTypeInterface::setDescription in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 33
Contains \Drupal\comment\CommentTypeInterface.

Class

CommentTypeInterface
Provides an interface defining a comment type entity.

Namespace

Drupal\comment

Code

public function setDescription($description);