CommentManagerInterface::addBodyField |
function |
core/modules/comment/src/CommentManagerInterface.php |
Creates a comment_body field. |
CommentManagerInterface::COMMENT_MODE_FLAT |
constant |
core/modules/comment/src/CommentManagerInterface.php |
Comments are displayed in a flat list - expanded. |
CommentManagerInterface::COMMENT_MODE_THREADED |
constant |
core/modules/comment/src/CommentManagerInterface.php |
Comments are displayed as a threaded list - expanded. |
CommentManagerInterface::forbiddenMessage |
function |
core/modules/comment/src/CommentManagerInterface.php |
Provides a message if posting comments is forbidden. |
CommentManagerInterface::getCountNewComments |
function |
core/modules/comment/src/CommentManagerInterface.php |
Returns the number of new comments on a given entity for the current user. |
CommentManagerInterface::getFields |
function |
core/modules/comment/src/CommentManagerInterface.php |
Utility function to return an array of comment fields. |
CommentManagerTest |
class |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
Tests Drupal\comment\CommentManager. |
CommentManagerTest.php |
file |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
|
CommentManagerTest::testGetFields |
function |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
Tests the getFields method. |
CommentNameConstraint |
class |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Supports validating comment author names. |
CommentNameConstraint.php |
file |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
|
CommentNameConstraint::$messageMatch |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when the name doesn't match the author's name. |
CommentNameConstraint::$messageNameTaken |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when an anonymous user comments using a registered name. |
CommentNameConstraint::$messageRequired |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when an admin changes the comment-author to an invalid user. |
CommentNameConstraint::coversFields |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
An array of entity fields which should be passed to the validator. |
CommentNameConstraintValidator |
class |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Validates the CommentName constraint. |
CommentNameConstraintValidator.php |
file |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
|
CommentNameConstraintValidator::$userStorage |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
User storage handler. |
CommentNameConstraintValidator::create |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Instantiates a new instance of this class. |
CommentNameConstraintValidator::getAnonymousContactDetailsSetting |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Gets the anonymous contact details setting from the comment. |
CommentNameConstraintValidator::validate |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
|
CommentNameConstraintValidator::__construct |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Constructs a new CommentNameConstraintValidator. |
CommentNewIndicatorTest |
class |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Tests the 'new' indicator posted on comments. |
CommentNewIndicatorTest.php |
file |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
|
CommentNewIndicatorTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
The theme to install as the default for testing. |
CommentNewIndicatorTest::$modules |
property |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Use the main node listing to test rendering on teasers. |
CommentNewIndicatorTest::renderNewCommentsNodeLinks |
function |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Get node "x new comments" metadata from the server for the current user. |
CommentNewIndicatorTest::testCommentNewCommentsIndicator |
function |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Tests new comment marker. |
CommentNodeAccessTest |
class |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
Tests comments with node access. |
CommentNodeAccessTest.php |
file |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
|
CommentNodeAccessTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
The theme to install as the default for testing. |
CommentNodeAccessTest::$modules |
property |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
Modules to install. |
CommentNodeAccessTest::setUp |
function |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
|
CommentNodeAccessTest::testThreadedCommentView |
function |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
Tests that threaded comments can be viewed. |
CommentNodeChangesTest |
class |
core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php |
Tests that comments behave correctly when the node is changed. |
CommentNodeChangesTest.php |
file |
core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php |
|
CommentNodeChangesTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php |
The theme to install as the default for testing. |
CommentNodeChangesTest::testNodeDeletion |
function |
core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php |
Tests that comments are deleted with the node. |
CommentNonNodeTest |
class |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Tests commenting on a test entity. |
CommentNonNodeTest.php |
file |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
|
CommentNonNodeTest::$adminUser |
property |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
An administrative user with permission to configure comment settings. |
CommentNonNodeTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
The theme to install as the default for testing. |
CommentNonNodeTest::$entity |
property |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
The entity to use within tests. |
CommentNonNodeTest::$modules |
property |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Modules to install. |
CommentNonNodeTest::commentContactInfoAvailable |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Checks whether the commenter's contact information is displayed. |
CommentNonNodeTest::commentExists |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Checks current page for specified comment. |
CommentNonNodeTest::getUnapprovedComment |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Gets the comment ID for an unapproved comment. |
CommentNonNodeTest::performCommentOperation |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Performs the specified operation on the specified comment. |
CommentNonNodeTest::postComment |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
Posts a comment. |
CommentNonNodeTest::setUp |
function |
core/modules/comment/tests/src/Functional/CommentNonNodeTest.php |
|