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
EntityCrudHookTest::commentPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for comment entities.
EntityCrudHookTest::commentUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_update() for comment entities.
EntityCrudHookTest::testCommentHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on comments.
EntityCrudHookTestHooks::commentCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for comment entities.
EntityCrudHookTestHooks::commentDelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_delete() for comment entities.
EntityCrudHookTestHooks::commentInsert function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_insert() for comment entities.
EntityCrudHookTestHooks::commentLoad function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_load() for comment entities.
EntityCrudHookTestHooks::commentPredelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_predelete() for comment entities.
EntityCrudHookTestHooks::commentPresave function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_presave() for comment entities.
EntityCrudHookTestHooks::commentUpdate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_update() for comment entities.
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-other.html.twig file core/modules/system/tests/themes/test_theme/templates/field--comment-other.html.twig {% include 'field--comment.html.twig' %}
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--comment.html.twig file core/modules/system/tests/themes/test_theme/templates/field--comment.html.twig Minimal template to ensure comments and comment_form variables are propagated
Drupal\comment\Hook\CommentThemeHooks::preprocessField().
field--comment.html.twig file core/themes/admin/templates/classy/field/field--comment.html.twig Theme override for comment fields.
field--comment.html.twig file core/themes/default_admin/templates/classy/field/field--comment.html.twig Theme override for comment fields.
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.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.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.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/recipes/article_comment/config/field.field.node.article.comment.yml core/recipes/article_comment/config/field.field.node.article.comment.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/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.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/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/recipes/comment_base/config/field.storage.node.comment.yml core/recipes/comment_base/config/field.storage.node.comment.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/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_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.
FilterUrl::$htmlComments property core/modules/filter/src/Plugin/Filter/FilterUrl.php Temporary storage for HTML comments.
FilterUrl::escapeComments function core/modules/filter/src/Plugin/Filter/FilterUrl.php Escapes the contents of HTML comments.
FilterUrl::unescapeComments function core/modules/filter/src/Plugin/Filter/FilterUrl.php Unescapes the contents of HTML 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

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