Search for comment

  1. Search 7.x for comment
  2. Search 9.5.x for comment
  3. Search 10.3.x for comment
  4. Search 11.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
CommentStatisticsInterface::getMaximumCount function core/modules/comment/src/CommentStatisticsInterface.php Find the maximum number of comments for the given entity type.
CommentStatisticsInterface::getRankingInfo function core/modules/comment/src/CommentStatisticsInterface.php Returns an array of ranking information for hook_ranking().
CommentStatisticsInterface::read function core/modules/comment/src/CommentStatisticsInterface.php Read comment statistics records for an array of entities.
CommentStatisticsInterface::update function core/modules/comment/src/CommentStatisticsInterface.php Update or insert comment statistics records after a comment is added.
CommentStatisticsTest class core/modules/comment/tests/src/Functional/CommentStatisticsTest.php Tests comment statistics on nodes.
CommentStatisticsTest.php file core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
CommentStatisticsTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentStatisticsTest.php The theme to install as the default for testing.
CommentStatisticsTest::$webUser2 property core/modules/comment/tests/src/Functional/CommentStatisticsTest.php A secondary user for posting comments.
CommentStatisticsTest::setUp function core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
CommentStatisticsTest::testCommentNodeCommentStatistics function core/modules/comment/tests/src/Functional/CommentStatisticsTest.php Tests the node comment statistics.
CommentStatisticsUnitTest class core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @coversDefaultClass \Drupal\comment\CommentStatistics
@group comment
CommentStatisticsUnitTest.php file core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php
CommentStatisticsUnitTest::$calls_to_fetch property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Counts calls to fetchAssoc().
CommentStatisticsUnitTest::$commentStatistics property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php CommentStatistics service under test.
CommentStatisticsUnitTest::$database property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock database connection.
CommentStatisticsUnitTest::$select property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock select interface.
CommentStatisticsUnitTest::$statement property core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Mock statement.
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
CommentStatisticsUnitTest::setUp function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Sets up required mocks and the CommentStatistics service under test.
CommentStatisticsUnitTest::testRead function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Tests the read method.
CommentStatusFieldAccessTest class core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Tests comment status field access.
CommentStatusFieldAccessTest.php file core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
CommentStatusFieldAccessTest::$commentAdmin property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Comment admin.
CommentStatusFieldAccessTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php The theme to install as the default for testing.
CommentStatusFieldAccessTest::$modules property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Modules to enable.
CommentStatusFieldAccessTest::$nodeAuthor property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Node author.
CommentStatusFieldAccessTest::$profile property core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php The profile to install as a basis for testing.
CommentStatusFieldAccessTest::setUp function core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php
CommentStatusFieldAccessTest::testCommentStatusFieldAccessStatus function core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php Tests comment status field access.
CommentStorage class core/modules/comment/src/CommentStorage.php Defines the storage handler class for comments.
CommentStorage.php file core/modules/comment/src/CommentStorage.php
CommentStorage::$currentUser property core/modules/comment/src/CommentStorage.php The current user.
CommentStorage::createInstance function core/modules/comment/src/CommentStorage.php Instantiates a new instance of this entity handler.
CommentStorage::getChildCids function core/modules/comment/src/CommentStorage.php Gets the comment ids of the passed comment entities' children.
CommentStorage::getDisplayOrdinal function core/modules/comment/src/CommentStorage.php Gets the display ordinal or page number for a comment.
CommentStorage::getMaxThread function core/modules/comment/src/CommentStorage.php Gets the maximum encoded thread value for the top level comments.
CommentStorage::getMaxThreadPerThread function core/modules/comment/src/CommentStorage.php Gets the maximum encoded thread value for the children of this comment.
CommentStorage::getNewCommentPageNumber function core/modules/comment/src/CommentStorage.php Calculates the page number for the first new comment.
CommentStorage::getUnapprovedCount function core/modules/comment/src/CommentStorage.php Returns the number of unapproved comments.
CommentStorage::loadThread function core/modules/comment/src/CommentStorage.php To display threaded comments in the correct order we keep a 'thread' field
and order by that value. This field keeps this data in
a way which is easy to update and convenient to use.
CommentStorage::__construct function core/modules/comment/src/CommentStorage.php Constructs a CommentStorage object.
CommentStorageInterface interface core/modules/comment/src/CommentStorageInterface.php Defines an interface for comment entity storage classes.
CommentStorageInterface.php file core/modules/comment/src/CommentStorageInterface.php
CommentStorageInterface::getChildCids function core/modules/comment/src/CommentStorageInterface.php Gets the comment ids of the passed comment entities' children.
CommentStorageInterface::getDisplayOrdinal function core/modules/comment/src/CommentStorageInterface.php Gets the display ordinal or page number for a comment.
CommentStorageInterface::getMaxThread function core/modules/comment/src/CommentStorageInterface.php Gets the maximum encoded thread value for the top level comments.
CommentStorageInterface::getMaxThreadPerThread function core/modules/comment/src/CommentStorageInterface.php Gets the maximum encoded thread value for the children of this comment.
CommentStorageInterface::getNewCommentPageNumber function core/modules/comment/src/CommentStorageInterface.php Calculates the page number for the first new comment.
CommentStorageInterface::getUnapprovedCount function core/modules/comment/src/CommentStorageInterface.php Returns the number of unapproved comments.
CommentStorageInterface::loadThread function core/modules/comment/src/CommentStorageInterface.php Retrieves comments for a thread, sorted in an order suitable for display.

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