| CommentsHistoryTest.php |
file |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
|
| CommentsHistoryTest::$defaultTheme |
property |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
The theme to install as the default for testing. |
| CommentsHistoryTest::$modules |
property |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
Modules to install. |
| CommentsHistoryTest::$testViews |
property |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
Views used by this test. |
| CommentsHistoryTest::setUp |
function |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
Sets up the test. |
| CommentsHistoryTest::testNewComments |
function |
core/modules/history/tests/src/Functional/CommentsHistoryTest.php |
Tests the new comments field plugin. |
| CommentSourceWithHighWaterTest |
class |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentSourceWithHighWaterTest.php |
Tests the Drupal 6 comment source w/ high water handling. |
| CommentSourceWithHighWaterTest.php |
file |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentSourceWithHighWaterTest.php |
|
| CommentSourceWithHighWaterTest::$modules |
property |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentSourceWithHighWaterTest.php |
Modules to install. |
| CommentSourceWithHighWaterTest::providerSource |
function |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentSourceWithHighWaterTest.php |
Provides source data for ::testSource. |
| CommentStatistics |
class |
core/modules/comment/src/CommentStatistics.php |
Service for storing and retrieving comment statistics. |
| CommentStatistics.php |
file |
core/modules/comment/src/CommentStatistics.php |
|
| CommentStatistics::$currentUser |
property |
core/modules/comment/src/CommentStatistics.php |
The current logged in user. |
| CommentStatistics::$database |
property |
core/modules/comment/src/CommentStatistics.php |
The current database connection. |
| CommentStatistics::$databaseReplica |
property |
core/modules/comment/src/CommentStatistics.php |
The replica database connection. |
| CommentStatistics::$entityTypeManager |
property |
core/modules/comment/src/CommentStatistics.php |
The entity type manager. |
| CommentStatistics::$state |
property |
core/modules/comment/src/CommentStatistics.php |
The state service. |
| CommentStatistics::create |
function |
core/modules/comment/src/CommentStatistics.php |
Insert an empty record for the given entity. |
| CommentStatistics::delete |
function |
core/modules/comment/src/CommentStatistics.php |
Delete comment statistics records for an entity. |
| CommentStatistics::getMaximumCount |
function |
core/modules/comment/src/CommentStatistics.php |
Find the maximum number of comments for the given entity type. |
| CommentStatistics::getRankingInfo |
function |
core/modules/comment/src/CommentStatistics.php |
Returns an array of ranking information for hook_ranking(). |
| CommentStatistics::read |
function |
core/modules/comment/src/CommentStatistics.php |
Read comment statistics records for an array of entities. |
| CommentStatistics::update |
function |
core/modules/comment/src/CommentStatistics.php |
Update or insert comment statistics records after a comment is added. |
| CommentStatistics::__construct |
function |
core/modules/comment/src/CommentStatistics.php |
Constructs the CommentStatistics service. |
| CommentStatisticsInterface |
interface |
core/modules/comment/src/CommentStatisticsInterface.php |
Provides an interface for storing and retrieving comment statistics. |
| CommentStatisticsInterface.php |
file |
core/modules/comment/src/CommentStatisticsInterface.php |
|
| CommentStatisticsInterface::create |
function |
core/modules/comment/src/CommentStatisticsInterface.php |
Insert an empty record for the given entity. |
| CommentStatisticsInterface::delete |
function |
core/modules/comment/src/CommentStatisticsInterface.php |
Delete comment statistics records for an entity. |
| 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 |
Tests Drupal\comment\CommentStatistics. |
| CommentStatisticsUnitTest.php |
file |
core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php |
|
| CommentStatisticsUnitTest::$callsToFetch |
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 |
|