| CommentIntegrationTest |
class |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
Tests integration of comment with other components. |
| CommentIntegrationTest.php |
file |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
|
| CommentIntegrationTest::$modules |
property |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
Modules to install. |
| CommentIntegrationTest::setUp |
function |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
|
| CommentIntegrationTest::testCommentDefaultOwner |
function |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
Tests the default owner of comment entities. |
| CommentIntegrationTest::testViewMode |
function |
core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php |
Tests view mode setting integration. |
| CommentInterface |
interface |
core/modules/comment/src/CommentInterface.php |
Provides an interface defining a comment entity. |
| CommentInterface.php |
file |
core/modules/comment/src/CommentInterface.php |
|
| CommentInterface::ANONYMOUS_MAYNOT_CONTACT |
constant |
core/modules/comment/src/CommentInterface.php |
Anonymous posters cannot enter their contact information. |
| CommentInterface::ANONYMOUS_MAY_CONTACT |
constant |
core/modules/comment/src/CommentInterface.php |
Anonymous posters may leave their contact information. |
| CommentInterface::ANONYMOUS_MUST_CONTACT |
constant |
core/modules/comment/src/CommentInterface.php |
Anonymous posters are required to leave their contact information. |
| CommentInterface::getAuthorEmail |
function |
core/modules/comment/src/CommentInterface.php |
Returns the comment author's email address. |
| CommentInterface::getAuthorName |
function |
core/modules/comment/src/CommentInterface.php |
Returns the comment author's name. |
| CommentInterface::getCommentedEntity |
function |
core/modules/comment/src/CommentInterface.php |
Returns the entity to which the comment is attached. |
| CommentInterface::getCommentedEntityId |
function |
core/modules/comment/src/CommentInterface.php |
Returns the ID of the entity to which the comment is attached. |
| CommentInterface::getCommentedEntityTypeId |
function |
core/modules/comment/src/CommentInterface.php |
Returns the type of the entity to which the comment is attached. |
| CommentInterface::getCreatedTime |
function |
core/modules/comment/src/CommentInterface.php |
Returns the time that the comment was created. |
| CommentInterface::getFieldName |
function |
core/modules/comment/src/CommentInterface.php |
Returns the name of the field the comment is attached to. |
| CommentInterface::getHomepage |
function |
core/modules/comment/src/CommentInterface.php |
Returns the comment author's home page address. |
| CommentInterface::getHostname |
function |
core/modules/comment/src/CommentInterface.php |
Returns the comment author's hostname. |
| CommentInterface::getParentComment |
function |
core/modules/comment/src/CommentInterface.php |
Returns the parent comment entity if this is a reply to a comment. |
| CommentInterface::getSubject |
function |
core/modules/comment/src/CommentInterface.php |
Returns the subject of the comment. |
| CommentInterface::getThread |
function |
core/modules/comment/src/CommentInterface.php |
Returns the alphadecimal representation of the comment's place in a thread. |
| CommentInterface::getTypeId |
function |
core/modules/comment/src/CommentInterface.php |
Get the comment type id for this comment. |
| CommentInterface::hasParentComment |
function |
core/modules/comment/src/CommentInterface.php |
Determines if this comment is a reply to another comment. |
| CommentInterface::NOT_PUBLISHED |
constant |
core/modules/comment/src/CommentInterface.php |
Comment is awaiting approval. |
| CommentInterface::permalink |
function |
core/modules/comment/src/CommentInterface.php |
Returns the permalink URL for this comment. |
| CommentInterface::PUBLISHED |
constant |
core/modules/comment/src/CommentInterface.php |
Comment is published. |
| CommentInterface::setAuthorName |
function |
core/modules/comment/src/CommentInterface.php |
Sets the name of the author of the comment. |
| CommentInterface::setCreatedTime |
function |
core/modules/comment/src/CommentInterface.php |
Sets the creation date of the comment. |
| CommentInterface::setFieldName |
function |
core/modules/comment/src/CommentInterface.php |
Sets the field ID for which this comment is attached. |
| CommentInterface::setHomepage |
function |
core/modules/comment/src/CommentInterface.php |
Sets the comment author's home page address. |
| CommentInterface::setHostname |
function |
core/modules/comment/src/CommentInterface.php |
Sets the hostname of the author of the comment. |
| CommentInterface::setSubject |
function |
core/modules/comment/src/CommentInterface.php |
Sets the subject of the comment. |
| CommentInterface::setThread |
function |
core/modules/comment/src/CommentInterface.php |
Sets the alphadecimal representation of the comment's place in a thread. |
| CommentInterfaceTest |
class |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Tests comment user interfaces. |
| CommentInterfaceTest.php |
file |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
|
| CommentInterfaceTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
The theme to install as the default for testing. |
| CommentInterfaceTest::setUp |
function |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Set up comments to have subject and preview disabled. |
| CommentInterfaceTest::testAutoFilledHtmlSubject |
function |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Tests that automatic subject is correctly created from HTML comment text. |
| CommentInterfaceTest::testAutoFilledSubject |
function |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Tests that the subject is automatically filled if disabled or left blank. |
| CommentInterfaceTest::testCommentInterface |
function |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Tests the comment interface. |
| CommentInterfaceTest::testViewMode |
function |
core/modules/comment/tests/src/Functional/CommentInterfaceTest.php |
Tests the comment formatter configured with a custom comment view mode. |
| CommentItem |
class |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Plugin implementation of the 'comment' field type. |
| CommentItem.php |
file |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
|
| CommentItem::defaultFieldSettings |
function |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Defines the field-level settings for this plugin. |
| CommentItem::defaultStorageSettings |
function |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Defines the storage-level settings for this plugin. |
| CommentItem::fieldSettingsForm |
function |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Returns a form for the field-level settings. |
| CommentItem::generateSampleValue |
function |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Generates placeholder field values. |
| CommentItem::isEmpty |
function |
core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php |
Determines whether the data structure is empty. |