CommentItemInterface.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\comment\Plugin\Field\FieldTypeFile
core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\comment\Plugin\Field\FieldType\CommentItemInterface.
*/
namespace Drupal\comment\Plugin\Field\FieldType;
/**
* Interface definition for Comment items.
*/
interface CommentItemInterface {
/**
* Comments for this entity are hidden.
*/
const HIDDEN = 0;
/**
* Comments for this entity are closed.
*/
const CLOSED = 1;
/**
* Comments for this entity are open.
*/
const OPEN = 2;
/**
* Comment form should be displayed on a separate page.
*/
const FORM_SEPARATE_PAGE = 0;
/**
* Comment form should be shown below post or list of comments.
*/
const FORM_BELOW = 1;
}
Interfaces
Name![]() |
Description |
---|---|
CommentItemInterface | Interface definition for Comment items. |