Search for comment

  1. Search 9.5.x for comment
  2. Search 8.9.x for comment
  3. Search 10.3.x for comment
  4. Search 11.x for comment
  5. Other projects
Title Object type File name Summary
hook_comment_delete function modules/comment/comment.api.php The comment is being deleted by the moderator.
hook_comment_insert function modules/comment/comment.api.php The comment is being inserted.
hook_comment_load function modules/comment/comment.api.php Comments are being loaded from the database.
hook_comment_presave function modules/comment/comment.api.php The comment passed validation and is about to be saved.
hook_comment_publish function modules/comment/comment.api.php Act on a comment that is being saved in a published state.
hook_comment_unpublish function modules/comment/comment.api.php Act on a comment that is being saved in an unpublished state.
hook_comment_update function modules/comment/comment.api.php The comment is being updated.
hook_comment_view function modules/comment/comment.api.php The comment is being viewed. This hook can be used to add additional data to the comment before theming.
hook_comment_view_alter function modules/comment/comment.api.php The comment was built; the module may modify the structured content.
LocaleCommentLanguageFunctionalTest class modules/locale/locale.test Functional tests for comment language.
LocaleCommentLanguageFunctionalTest::getInfo function modules/locale/locale.test
LocaleCommentLanguageFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleCommentLanguageFunctionalTest::testCommentLanguage function modules/locale/locale.test Test that comment language is properly set.
locale_field_comment_form_submit function modules/locale/locale.module Form submit handler for comment_form().
locale_form_comment_form_alter function modules/locale/locale.module Implements hook_form_FORM_ID_alter().
NodeAccessPagerTestCase::testCommentPager function modules/node/node.test Tests the comment pager for nodes with multiple grants per realm.
Query::$comments property includes/database/query.inc An array of comments that can be prepended to a query.
Query::comment function includes/database/query.inc Adds a comment to the query.
Query::getComments function includes/database/query.inc Returns a reference to the comments array for the query.
RdfCommentAttributesTestCase class modules/rdf/rdf.test
RdfCommentAttributesTestCase::$node1 property modules/rdf/rdf.test
RdfCommentAttributesTestCase::$node2 property modules/rdf/rdf.test
RdfCommentAttributesTestCase::getInfo function modules/rdf/rdf.test
RdfCommentAttributesTestCase::setUp function modules/rdf/rdf.test Sets up a Drupal site for running functional and integration tests.
RdfCommentAttributesTestCase::testCommentRdfaMarkup function modules/rdf/rdf.test Tests the presence of the RDFa markup for the title, date and author and
homepage on registered users and anonymous comments.
RdfCommentAttributesTestCase::testCommentReplyOfRdfaMarkup function modules/rdf/rdf.test Test RDF comment replies.
RdfCommentAttributesTestCase::testNumberOfCommentsRdfaMarkup function modules/rdf/rdf.test Tests the presence of the RDFa markup for the number of comments.
RdfCommentAttributesTestCase::_testBasicCommentRdfaMarkup function modules/rdf/rdf.test Helper function for testCommentRdfaMarkup().
rdf_comment_load function modules/rdf/rdf.module Implements hook_comment_load().
rdf_preprocess_comment function modules/rdf/rdf.module Implements MODULE_preprocess_HOOK().
SchemaTestCase::checkSchemaComment function modules/simpletest/tests/schema.test Checks that a table or column comment matches a given description.
SearchCommentCountToggleTestCase class modules/search/search.test Tests that comment count display toggles properly on comment status of node
SearchCommentCountToggleTestCase::$searchable_nodes property modules/search/search.test
SearchCommentCountToggleTestCase::$searching_user property modules/search/search.test
SearchCommentCountToggleTestCase::getInfo function modules/search/search.test
SearchCommentCountToggleTestCase::setUp function modules/search/search.test Sets up a Drupal site for running functional and integration tests.
SearchCommentCountToggleTestCase::testSearchCommentCountToggle function modules/search/search.test Verify that comment count display toggles properly on comment status of node
SearchCommentTestCase class modules/search/search.test Test integration searching comments.
SearchCommentTestCase::$admin_role property modules/search/search.test
SearchCommentTestCase::$admin_user property modules/search/search.test
SearchCommentTestCase::$comment_subject property modules/search/search.test
SearchCommentTestCase::$node property modules/search/search.test
SearchCommentTestCase::checkCommentAccess function modules/search/search.test Update search index and search for comment.
SearchCommentTestCase::getInfo function modules/search/search.test
SearchCommentTestCase::setRolePermissions function modules/search/search.test Set permissions for role.
SearchCommentTestCase::setUp function modules/search/search.test
SearchCommentTestCase::testAddNewComment function modules/search/search.test Verify that 'add new comment' does not appear in search results or index.
SearchCommentTestCase::testSearchResultsComment function modules/search/search.test Verify that comments are rendered using proper format in search results.
SearchCommentTestCase::testSearchResultsCommentAccess function modules/search/search.test Verify access rules for comment indexing with different permissions.
search_comment_delete function modules/search/search.module Implements hook_comment_delete().

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