Search for comment

  1. Search 7.x for comment
  2. Search 9.5.x for comment
  3. Search 8.9.x for comment
  4. Search 10.3.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
CommentManager class core/modules/comment/src/CommentManager.php Comment manager contains common functions to manage comment fields.
CommentManager.php file core/modules/comment/src/CommentManager.php
CommentManager::$authenticatedCanPostComments property core/modules/comment/src/CommentManager.php Whether the \Drupal\user\RoleInterface::AUTHENTICATED_ID can post comments.
CommentManager::$currentUser property core/modules/comment/src/CommentManager.php The current user.
CommentManager::$entityDisplayRepository property core/modules/comment/src/CommentManager.php The entity display repository.
CommentManager::$entityFieldManager property core/modules/comment/src/CommentManager.php The entity field manager.
CommentManager::$entityTypeManager property core/modules/comment/src/CommentManager.php The entity type manager.
CommentManager::$moduleHandler property core/modules/comment/src/CommentManager.php The module handler service.
CommentManager::$userConfig property core/modules/comment/src/CommentManager.php The user settings config object.
CommentManager::addBodyField function core/modules/comment/src/CommentManager.php
CommentManager::forbiddenMessage function core/modules/comment/src/CommentManager.php
CommentManager::getCountNewComments function core/modules/comment/src/CommentManager.php
CommentManager::getFields function core/modules/comment/src/CommentManager.php
CommentManager::__construct function core/modules/comment/src/CommentManager.php Construct the CommentManager object.
CommentManagerInterface interface core/modules/comment/src/CommentManagerInterface.php Comment manager contains common functions to manage comment fields.
CommentManagerInterface.php file core/modules/comment/src/CommentManagerInterface.php
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 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
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
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
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
CommentNodeAccessTest::$modules property core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
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.

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