Search for comment

  1. Search 7.x for comment
  2. Search 9.5.x for comment
  3. Search 10.3.x for comment
  4. Search 11.x for comment
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Comment class core/modules/comment/src/Entity/Comment.php Defines the comment entity class.
Comment class core/modules/comment/src/Plugin/views/wizard/Comment.php Tests creating comment views with the wizard.
Comment class core/modules/comment/src/Plugin/migrate/source/d6/Comment.php Drupal 6 comment source from database.
Comment class core/modules/comment/src/Plugin/migrate/source/d7/Comment.php Drupal 7 comment source from database.

All search results

Title Object type File name Summary
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 available on a given entity for a 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 @coversDefaultClass \Drupal\comment\CommentManager
@group comment
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::$context property core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php Validator 2.5 and upwards compatible execution context.
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 Test 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 enable.
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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.