function CommentType::getDescription

Same name and namespace in other branches
  1. 8.9.x core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::getDescription()
  2. 10 core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::getDescription()
  3. 11.x core/modules/comment/src/Entity/CommentType.php \Drupal\comment\Entity\CommentType::getDescription()

Overrides CommentTypeInterface::getDescription

File

core/modules/comment/src/Entity/CommentType.php, line 87

Class

CommentType
Defines the comment type entity.

Namespace

Drupal\comment\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.