3 namespace Drupal\comment;
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
8 * Provides an interface defining a comment type entity.
10 interface CommentTypeInterface extends ConfigEntityInterface {
13 * Returns the comment type description.
16 * The comment-type description.
18 public function getDescription();
21 * Sets the description of the comment type.
23 * @param string $description
24 * The new description.
28 public function setDescription($description);
31 * Gets the target entity type id for this comment type.
34 * The target entity type id.
36 public function getTargetEntityTypeId();