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
CommentTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/CommentTest.php Sets up the necessary authorization.
CommentTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTestBase class core/modules/comment/tests/src/Functional/CommentTestBase.php Provides setup and helper methods for comment tests.
CommentTestBase class core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Provides setup and helper methods for comment views tests.
CommentTestBase.php file core/modules/comment/tests/src/Functional/CommentTestBase.php
CommentTestBase.php file core/modules/comment/tests/src/Functional/Views/CommentTestBase.php
CommentTestBase::$account property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A normal user with permission to post comments (without approval).
CommentTestBase::$account2 property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php A second normal user that will author a node for $account to comment on.
CommentTestBase::$adminUser property core/modules/comment/tests/src/Functional/CommentTestBase.php An administrative user with permission to configure comment settings.
CommentTestBase::$comment property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Stores a comment used by the tests.
CommentTestBase::$modules property core/modules/comment/tests/src/Functional/CommentTestBase.php Modules to install.
CommentTestBase::$modules property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Modules to install.
CommentTestBase::$node property core/modules/comment/tests/src/Functional/CommentTestBase.php A test node to which comments will be posted.
CommentTestBase::$nodeUserCommented property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Stores a node posted by the user created as $account2.
CommentTestBase::$nodeUserPosted property core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Stores a node posted by the user created as $account.
CommentTestBase::$webUser property core/modules/comment/tests/src/Functional/CommentTestBase.php A normal user with permission to post comments.
CommentTestBase::commentContactInfoAvailable function core/modules/comment/tests/src/Functional/CommentTestBase.php Checks whether the commenter's contact information is displayed.
CommentTestBase::commentExists function core/modules/comment/tests/src/Functional/CommentTestBase.php Checks current page for specified comment.
CommentTestBase::createCommentType function core/modules/comment/tests/src/Functional/CommentTestBase.php Creates a comment type (bundle).
CommentTestBase::deleteComment function core/modules/comment/tests/src/Functional/CommentTestBase.php Deletes a comment.
CommentTestBase::getUnapprovedComment function core/modules/comment/tests/src/Functional/CommentTestBase.php Gets the comment ID for an unapproved comment.
CommentTestBase::performCommentOperation function core/modules/comment/tests/src/Functional/CommentTestBase.php Performs the specified operation on the specified comment.
CommentTestBase::postComment function core/modules/comment/tests/src/Functional/CommentTestBase.php Posts a comment.
CommentTestBase::setCommentAnonymous function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value governing restrictions on anonymous comments.
CommentTestBase::setCommentForm function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value governing whether the comment form is on its own page.
CommentTestBase::setCommentPreview function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value governing the previewing mode for the comment form.
CommentTestBase::setCommentSettings function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets a comment settings variable for the article content type.
CommentTestBase::setCommentsPerPage function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value specifying the default number of comments per page.
CommentTestBase::setCommentSubject function core/modules/comment/tests/src/Functional/CommentTestBase.php Sets the value governing whether the subject field should be enabled.
CommentTestBase::setUp function core/modules/comment/tests/src/Functional/CommentTestBase.php
CommentTestBase::setUp function core/modules/comment/tests/src/Functional/Views/CommentTestBase.php Sets up the test.
CommentTestBaseField class core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php Defines a test entity class for comment as a base field.
CommentTestBaseField.php file core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php
CommentTestBaseField::baseFieldDefinitions function core/modules/comment/tests/modules/comment_base_field_test/src/Entity/CommentTestBaseField.php
CommentTestController class core/modules/comment/tests/modules/comment_test/src/Controller/CommentTestController.php Controller for the comment_test.module.
CommentTestController.php file core/modules/comment/tests/modules/comment_test/src/Controller/CommentTestController.php
CommentTestController::commentReport function core/modules/comment/tests/modules/comment_test/src/Controller/CommentTestController.php Provides a comment report.
CommentTestHooks class core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Hook implementations for comment_test.
CommentTestHooks.php file core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php
CommentTestHooks::commentLinksAlter function core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Implements hook_comment_links_alter().
CommentTestHooks::entityTypeAlter function core/modules/comment/tests/modules/comment_test/src/Hook/CommentTestHooks.php Implements hook_entity_type_alter().
CommentTestTrait trait core/modules/comment/src/Tests/CommentTestTrait.php Provides common functionality for the Comment test classes.
CommentTestTrait.php file core/modules/comment/src/Tests/CommentTestTrait.php
CommentTestTrait::addDefaultCommentField function core/modules/comment/src/Tests/CommentTestTrait.php Adds the default comment field to an entity.
CommentThreadingTest class core/modules/comment/tests/src/Functional/CommentThreadingTest.php Tests to make sure the comment number increments properly.
CommentThreadingTest.php file core/modules/comment/tests/src/Functional/CommentThreadingTest.php
CommentThreadingTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentThreadingTest.php The theme to install as the default for testing.
CommentThreadingTest::assertNoParentLink function core/modules/comment/tests/src/Functional/CommentThreadingTest.php Asserts that the specified comment does not have a link to a parent.
CommentThreadingTest::assertParentLink function core/modules/comment/tests/src/Functional/CommentThreadingTest.php Asserts that the link to the specified parent comment is present.
CommentThreadingTest::testCommentReplyLinkUnpublished function core/modules/comment/tests/src/Functional/CommentThreadingTest.php Check the reply link on unpublished comments.

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