Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / comment / src / CommentTypeInterface.php
1 <?php
2
3 namespace Drupal\comment;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6
7 /**
8  * Provides an interface defining a comment type entity.
9  */
10 interface CommentTypeInterface extends ConfigEntityInterface {
11
12   /**
13    * Returns the comment type description.
14    *
15    * @return string
16    *   The comment-type description.
17    */
18   public function getDescription();
19
20   /**
21    * Sets the description of the comment type.
22    *
23    * @param string $description
24    *   The new description.
25    *
26    * @return $this
27    */
28   public function setDescription($description);
29
30   /**
31    * Gets the target entity type id for this comment type.
32    *
33    * @return string
34    *   The target entity type id.
35    */
36   public function getTargetEntityTypeId();
37
38 }