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
CommentLinksAlterTest::setUp function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
CommentLinksAlterTest::testCommentLinksAlter function core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php Tests comment links altering.
CommentLinksTest class core/modules/comment/tests/src/Functional/CommentLinksTest.php Basic comment links tests to ensure markup present.
CommentLinksTest class core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php Tests the comment link field handlers.
CommentLinksTest.php file core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
CommentLinksTest.php file core/modules/comment/tests/src/Functional/CommentLinksTest.php
CommentLinksTest::$comment property core/modules/comment/tests/src/Functional/CommentLinksTest.php Comment being tested.
CommentLinksTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentLinksTest.php The theme to install as the default for testing.
CommentLinksTest::$modules property core/modules/comment/tests/src/Functional/CommentLinksTest.php Use the main node listing to test rendering on teasers.
CommentLinksTest::$modules property core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php Modules to install.
CommentLinksTest::$seen property core/modules/comment/tests/src/Functional/CommentLinksTest.php Seen comments, array of comment IDs.
CommentLinksTest::$testViews property core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php Views used by this test.
CommentLinksTest::setUp function core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
CommentLinksTest::testCommentLinks function core/modules/comment/tests/src/Functional/CommentLinksTest.php Tests that comment links are output and can be hidden.
CommentLinksTest::testLinkApprove function core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php Tests the comment approve link.
CommentLinksTest::testLinkReply function core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php Tests the comment reply link.
CommentLockTest class core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php Tests comment acquires and releases the right lock.
CommentLockTest.php file core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
CommentLockTest::testLocks function core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php Tests the lock behavior.
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 An array of entity fields which should be passed to the validator.

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