Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / comment / src / Plugin / Field / FieldType / CommentItemInterface.php
1 <?php
2
3 namespace Drupal\comment\Plugin\Field\FieldType;
4
5 /**
6  * Interface definition for Comment items.
7  */
8 interface CommentItemInterface {
9
10   /**
11    * Comments for this entity are hidden.
12    */
13   const HIDDEN = 0;
14
15   /**
16    * Comments for this entity are closed.
17    */
18   const CLOSED = 1;
19
20   /**
21    * Comments for this entity are open.
22    */
23   const OPEN = 2;
24
25   /**
26    * Comment form should be displayed on a separate page.
27    */
28   const FORM_SEPARATE_PAGE = 0;
29
30   /**
31    * Comment form should be shown below post or list of comments.
32    */
33   const FORM_BELOW = 1;
34
35 }