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
EntityFilteringThemeTest::$comment property core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php A test comment.
EntityReferenceSelectionAccessTest::testCommentHandler function core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php Tests the comment-specific overrides of the entity handler.
ExtensionDiscoveryTest::testExtensionDiscoveryTypeComment function core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php Tests finding modules that have a trailing comment on the type property.
field--comment-body.html.twig file core/themes/olivero/templates/field/field--comment-body.html.twig Olivero's theme override for comment body field.
field--comment.html.twig file core/profiles/demo_umami/themes/umami/templates/classy/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/themes/olivero/templates/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/themes/stable9/templates/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/themes/claro/templates/classy/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/themes/starterkit_theme/templates/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/modules/comment/templates/field--comment.html.twig Default theme override for comment fields.
field--comment.html.twig file core/modules/big_pipe/tests/themes/big_pipe_test_theme/templates/field--comment.html.twig Test that comments still work with the form above instead of below.
field.field.comment.comment.comment_body.yml file core/recipes/comment_base/config/field.field.comment.comment.comment_body.yml core/recipes/comment_base/config/field.field.comment.comment.comment_body.yml
field.field.comment.comment.comment_body.yml file core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml core/profiles/standard/config/install/field.field.comment.comment.comment_body.yml
field.field.comment.comment.comment_body.yml file core/modules/system/tests/modules/olivero_test/config/install/field.field.comment.comment.comment_body.yml core/modules/system/tests/modules/olivero_test/config/install/field.field.comment.comment.comment_body.yml
field.field.node.article.comment.yml file core/profiles/standard/config/install/field.field.node.article.comment.yml core/profiles/standard/config/install/field.field.node.article.comment.yml
field.field.node.article.comment.yml file core/profiles/tests/nightwatch_a11y_testing/config/install/field.field.node.article.comment.yml core/profiles/tests/nightwatch_a11y_testing/config/install/field.field.node.article.comment.yml
field.field.node.article.comment.yml file core/modules/system/tests/modules/olivero_test/config/install/field.field.node.article.comment.yml core/modules/system/tests/modules/olivero_test/config/install/field.field.node.article.comment.yml
field.field.node.article.comment.yml file core/recipes/article_comment/config/field.field.node.article.comment.yml core/recipes/article_comment/config/field.field.node.article.comment.yml
field.field.node.config_mapping_test.comment_config_mapping_test.yml file core/modules/system/tests/modules/config_mapping_test/config/optional/field.field.node.config_mapping_test.comment_config_mapping_test.yml core/modules/system/tests/modules/config_mapping_test/config/optional/field.field.node.config_mapping_test.comment_config_mapping_test.yml
field.storage.comment.comment_body.yml file core/modules/comment/config/install/field.storage.comment.comment_body.yml core/modules/comment/config/install/field.storage.comment.comment_body.yml
field.storage.node.comment.yml file core/profiles/standard/config/install/field.storage.node.comment.yml core/profiles/standard/config/install/field.storage.node.comment.yml
field.storage.node.comment.yml file core/profiles/tests/nightwatch_a11y_testing/config/install/field.storage.node.comment.yml core/profiles/tests/nightwatch_a11y_testing/config/install/field.storage.node.comment.yml
field.storage.node.comment.yml file core/modules/system/tests/modules/olivero_test/config/install/field.storage.node.comment.yml core/modules/system/tests/modules/olivero_test/config/install/field.storage.node.comment.yml
field.storage.node.comment.yml file core/recipes/comment_base/config/field.storage.node.comment.yml core/recipes/comment_base/config/field.storage.node.comment.yml
field.storage.node.comment_config_mapping_test.yml file core/modules/system/tests/modules/config_mapping_test/config/optional/field.storage.node.comment_config_mapping_test.yml core/modules/system/tests/modules/config_mapping_test/config/optional/field.storage.node.comment_config_mapping_test.yml
FileFieldWidgetTest::testPrivateFileComment function core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests that download restrictions on private files work on comments.
history.comment_link_builder service core/modules/history/history.services.yml Drupal\history\HistoryCommentLinkBuilder
HistoryCommentLinkBuilder class core/modules/history/src/HistoryCommentLinkBuilder.php Adds history functionality to comment links on nodes.
HistoryCommentLinkBuilder.php file core/modules/history/src/HistoryCommentLinkBuilder.php
HistoryCommentLinkBuilder::buildCommentedEntityLinks function core/modules/history/src/HistoryCommentLinkBuilder.php Builds links for the given entity.
HistoryCommentLinkBuilder::__construct function core/modules/history/src/HistoryCommentLinkBuilder.php Constructs a new HistoryCommentLinkBuilder object.
HistoryCommentLinkBuilderTest class core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php This is duplicated from CommentLinkBuilderTest with history additions.
HistoryCommentLinkBuilderTest.php file core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php
HistoryCommentLinkBuilderTest::$commentLinkBuilder property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The comment link builder.
HistoryCommentLinkBuilderTest::$commentManager property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Comment manager mock.
HistoryCommentLinkBuilderTest::$currentUser property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Current user proxy mock.
HistoryCommentLinkBuilderTest::$decoratedCommentLinkBuilder property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The decorated comment link builder.
HistoryCommentLinkBuilderTest::$entityTypeManager property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The entity type manager.
HistoryCommentLinkBuilderTest::$stringTranslation property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php String translation mock.
HistoryCommentLinkBuilderTest::$timestamp property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Timestamp used in test.
HistoryCommentLinkBuilderTest::getLinkCombinations function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Data provider for ::testCommentLinkBuilder.
HistoryCommentLinkBuilderTest::getMockNode function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Builds a mock node based on given scenario.
HistoryCommentLinkBuilderTest::setUp function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Prepares mocks for the test.
HistoryCommentLinkBuilderTest::testCommentLinkBuilder function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Tests the buildCommentedEntityLinks method.
HistoryController::renderNewCommentsNodeLinks function core/modules/history/src/Controller/HistoryController.php Returns a set of nodes' last read timestamps.
HistoryHooks::commentView function core/modules/history/src/Hook/HistoryHooks.php Implements hook_ENTITY_TYPE_view for comment entities.
HistoryManager::getCountNewComments function core/modules/history/src/HistoryManager.php Returns the number of new comments on a given entity for the current user.
HistoryTokensHooksTest::testTokenInfoWithoutCommentModuleInstalled function core/modules/history/tests/src/Unit/HistoryTokensHooksTest.php Tests that tokenInfo() handles missing comment module gracefully.
hook_comment_links_alter function core/modules/comment/comment.api.php Alter the links of a comment.
JsonapiHooks::jsonapiCommentFilterAccess function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_jsonapi_ENTITY_TYPE_filter_access() for 'comment'.

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