interface CommentItemInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php \Drupal\comment\Plugin\Field\FieldType\CommentItemInterface
Interface definition for Comment items.
Hierarchy
- interface \Drupal\comment\Plugin\Field\FieldType\CommentItemInterface
Expanded class hierarchy of CommentItemInterface
All classes that implement CommentItemInterface
31 files declare their use of CommentItemInterface
- comment.module in core/
modules/ comment/ comment.module - Enables users to comment on published content.
- CommentController.php in core/
modules/ comment/ src/ Controller/ CommentController.php - Contains \Drupal\comment\Controller\CommentController.
- CommentDefaultFormatter.php in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Contains \Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter.
- CommentFieldsTest.php in core/
modules/ comment/ src/ Tests/ CommentFieldsTest.php - Contains \Drupal\comment\Tests\CommentFieldsTest.
- CommentForm.php in core/
modules/ comment/ src/ CommentForm.php - Contains \Drupal\comment\CommentForm.
File
- core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItemInterface.php, line 13 - Contains \Drupal\comment\Plugin\Field\FieldType\CommentItemInterface.
Namespace
Drupal\comment\Plugin\Field\FieldTypeView source
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;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommentItemInterface:: |
constant | Comments for this entity are closed. | ||
CommentItemInterface:: |
constant | Comment form should be shown below post or list of comments. | ||
CommentItemInterface:: |
constant | Comment form should be displayed on a separate page. | ||
CommentItemInterface:: |
constant | Comments for this entity are hidden. | ||
CommentItemInterface:: |
constant | Comments for this entity are open. |