Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
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.
CommentTestBase::performCommentOperation function core/modules/comment/tests/src/Functional/CommentTestBase.php Performs the specified operation on the specified comment.
CommentTokenReplaceTest class core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php Tests comment token replacement.
CommentTokenReplaceTest class core/modules/history/tests/src/Functional/CommentTokenReplaceTest.php Tests comment token replacement.
CommentTokenReplaceTest.php file core/modules/history/tests/src/Functional/CommentTokenReplaceTest.php
CommentTokenReplaceTest.php file core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
CommentTokenReplaceTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php The theme to install as the default for testing.
CommentTokenReplaceTest::$defaultTheme property core/modules/history/tests/src/Functional/CommentTokenReplaceTest.php The theme to install as the default for testing.
CommentTokenReplaceTest::$modules property core/modules/history/tests/src/Functional/CommentTokenReplaceTest.php Modules to install.
CommentTokenReplaceTest::$modules property core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php Modules to install.
CommentTokenReplaceTest::testCommentTokenReplacement function core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php Creates a comment, then tests the tokens generated from it.
CommentTokenReplaceTest::testCommentTokenReplacement function core/modules/history/tests/src/Functional/CommentTokenReplaceTest.php Creates a comment, then tests the tokens generated from it.
CommentTokensHooks class core/modules/comment/src/Hook/CommentTokensHooks.php Hook implementations for comment.
CommentTokensHooks.php file core/modules/comment/src/Hook/CommentTokensHooks.php
CommentTokensHooks::tokenInfo function core/modules/comment/src/Hook/CommentTokensHooks.php Implements hook_token_info().
CommentTokensHooks::tokens function core/modules/comment/src/Hook/CommentTokensHooks.php Implements hook_tokens().
CommentTranslationUITest::getTranslatorPermissions function core/modules/comment/tests/src/Functional/CommentTranslationUITest.php Returns an array of permissions needed for the translator.
CommentTypeListBuilder::getDefaultOperations function core/modules/comment/src/CommentTypeListBuilder.php Gets this list's default operations.
CommentValidationTest::testValidationOfCommentOfUnpublishedNode function core/modules/comment/tests/src/Kernel/CommentValidationTest.php Tests that comments of unpublished nodes are not valid.
CommentViewsKernelTestBase::$commentStorage property core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php The entity storage for comments.
CommentViewsKernelTestBase::$userStorage property core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php The entity storage for users.
ComplexDataConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
ComplexDataConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php Validates complex data.
ComplexDataConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraintValidator.php
ComplexDataConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php Tests ComplexData validation with both valid and invalid values.

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