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 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
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.
CommentStorageSchema class core/modules/comment/src/CommentStorageSchema.php Defines the comment schema handler.
CommentStorageSchema.php file core/modules/comment/src/CommentStorageSchema.php
CommentStorageSchema::getEntitySchema function core/modules/comment/src/CommentStorageSchema.php Gets the entity schema for the specified entity type.
CommentStorageSchema::getSharedTableFieldSchema function core/modules/comment/src/CommentStorageSchema.php Gets the schema for a single field definition.
CommentStringIdEntitiesTest class core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php Tests that comment fields cannot be added to entities with non-integer IDs.
CommentStringIdEntitiesTest.php file core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
CommentStringIdEntitiesTest::$modules property core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php Modules to install.
CommentStringIdEntitiesTest::setUp function core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
CommentStringIdEntitiesTest::testCommentFieldNonStringId function core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php Tests that comment fields cannot be added entities with non-integer IDs.
CommentTest class core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php Tests D6 comment source plugin.
CommentTest class core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php Tests D7 comment source plugin.
CommentTest class core/modules/jsonapi/tests/src/Functional/CommentTest.php JSON:API integration test for the "Comment" content entity type.
CommentTest.php file core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTest.php file core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php
CommentTest.php file core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php
CommentTest::$commentedEntity property core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/CommentTest.php The theme to install as the default for testing.
CommentTest::$entity property core/modules/jsonapi/tests/src/Functional/CommentTest.php
CommentTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/CommentTest.php The tested entity type.
CommentTest::$modules property core/modules/jsonapi/tests/src/Functional/CommentTest.php Modules to install.
CommentTest::$modules property core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php Modules to install.
CommentTest::$modules property core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php Modules to install.
CommentTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/CommentTest.php The fields that are protected against modification during PATCH requests.
CommentTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/CommentTest.php The name of the tested JSON:API resource type.
CommentTest::createEntity function core/modules/jsonapi/tests/src/Functional/CommentTest.php Creates the entity to be tested.
CommentTest::doTestPatchIndividual function core/modules/jsonapi/tests/src/Functional/CommentTest.php Tests PATCHing an individual resource, plus edge cases to ensure good DX.

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