Search for comment
- Search 7.x for comment
- Search 9.5.x for comment
- Search 10.3.x for comment
- Search 11.x for comment
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Comment | class | core/ |
Defines the comment entity class. |
| Comment | class | core/ |
Tests creating comment views with the wizard. |
| Comment | class | core/ |
Drupal 6 comment source from database. |
| Comment | class | core/ |
Drupal 7 comment source from database. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| CommentStatisticsInterface::getMaximumCount | function | core/ |
Find the maximum number of comments for the given entity type. |
| CommentStatisticsInterface::getRankingInfo | function | core/ |
Returns an array of ranking information for hook_ranking(). |
| CommentStatisticsInterface::read | function | core/ |
Read comment statistics records for an array of entities. |
| CommentStatisticsInterface::update | function | core/ |
Update or insert comment statistics records after a comment is added. |
| CommentStatisticsTest | class | core/ |
Tests comment statistics on nodes. |
| CommentStatisticsTest.php | file | core/ |
|
| CommentStatisticsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CommentStatisticsTest::$webUser2 | property | core/ |
A secondary user for posting comments. |
| CommentStatisticsTest::setUp | function | core/ |
|
| CommentStatisticsTest::testCommentNodeCommentStatistics | function | core/ |
Tests the node comment statistics. |
| CommentStatisticsUnitTest | class | core/ |
@coversDefaultClass \Drupal\comment\CommentStatistics[[api-linebreak]] @group comment |
| CommentStatisticsUnitTest.php | file | core/ |
|
| CommentStatisticsUnitTest::$calls_to_fetch | property | core/ |
Counts calls to fetchAssoc(). |
| CommentStatisticsUnitTest::$commentStatistics | property | core/ |
CommentStatistics service under test. |
| CommentStatisticsUnitTest::$database | property | core/ |
Mock database connection. |
| CommentStatisticsUnitTest::$select | property | core/ |
Mock select interface. |
| CommentStatisticsUnitTest::$statement | property | core/ |
Mock statement. |
| CommentStatisticsUnitTest::fetchObjectCallback | function | core/ |
Return value callback for fetchObject() function on mocked object. |
| CommentStatisticsUnitTest::setUp | function | core/ |
Sets up required mocks and the CommentStatistics service under test. |
| CommentStatisticsUnitTest::testRead | function | core/ |
Tests the read method. |
| CommentStatusFieldAccessTest | class | core/ |
Tests comment status field access. |
| CommentStatusFieldAccessTest.php | file | core/ |
|
| CommentStatusFieldAccessTest::$commentAdmin | property | core/ |
Comment admin. |
| CommentStatusFieldAccessTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CommentStatusFieldAccessTest::$modules | property | core/ |
Modules to enable. |
| CommentStatusFieldAccessTest::$nodeAuthor | property | core/ |
Node author. |
| CommentStatusFieldAccessTest::$profile | property | core/ |
The profile to install as a basis for testing. |
| CommentStatusFieldAccessTest::setUp | function | core/ |
|
| CommentStatusFieldAccessTest::testCommentStatusFieldAccessStatus | function | core/ |
Tests comment status field access. |
| CommentStorage | class | core/ |
Defines the storage handler class for comments. |
| CommentStorage.php | file | core/ |
|
| CommentStorage::$currentUser | property | core/ |
The current user. |
| CommentStorage::createInstance | function | core/ |
Instantiates a new instance of this entity handler. |
| CommentStorage::getChildCids | function | core/ |
Gets the comment ids of the passed comment entities' children. |
| CommentStorage::getDisplayOrdinal | function | core/ |
Gets the display ordinal or page number for a comment. |
| CommentStorage::getMaxThread | function | core/ |
Gets the maximum encoded thread value for the top level comments. |
| CommentStorage::getMaxThreadPerThread | function | core/ |
Gets the maximum encoded thread value for the children of this comment. |
| CommentStorage::getNewCommentPageNumber | function | core/ |
Calculates the page number for the first new comment. |
| CommentStorage::getUnapprovedCount | function | core/ |
Returns the number of unapproved comments. |
| CommentStorage::loadThread | function | core/ |
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/ |
Constructs a CommentStorage object. |
| CommentStorageInterface | interface | core/ |
Defines an interface for comment entity storage classes. |
| CommentStorageInterface.php | file | core/ |
|
| CommentStorageInterface::getChildCids | function | core/ |
Gets the comment ids of the passed comment entities' children. |
| CommentStorageInterface::getDisplayOrdinal | function | core/ |
Gets the display ordinal or page number for a comment. |
| CommentStorageInterface::getMaxThread | function | core/ |
Gets the maximum encoded thread value for the top level comments. |
| CommentStorageInterface::getMaxThreadPerThread | function | core/ |
Gets the maximum encoded thread value for the children of this comment. |
| CommentStorageInterface::getNewCommentPageNumber | function | core/ |
Calculates the page number for the first new comment. |
| CommentStorageInterface::getUnapprovedCount | function | core/ |
Returns the number of unapproved comments. |
| CommentStorageInterface::loadThread | function | core/ |
Retrieves comments for a thread, sorted in an order suitable for display. |
Pagination
- Previous page
- Page 15
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.