Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
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/src/Tests/CommentTestBase.php Performs the specified operation on the specified comment.
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 Generates text using placeholders for dummy content to check comment token
replacement.
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::$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.
CommentTranslationUITest::getTranslatorPermissions function core/modules/comment/tests/src/Functional/CommentTranslationUITest.php Returns an array of permissions needed for the translator.
CommentType::initializeIterator function core/modules/comment/src/Plugin/migrate/source/d7/CommentType.php Initializes the iterator with the source data.
CommentTypeListBuilder::getDefaultOperations function core/modules/comment/src/CommentTypeListBuilder.php Gets this list's default operations.
CommentUpdateTest::testOwnerEntityKey function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests that the comment entity type has an 'owner' entity key.
CommentVariable::initializeIterator function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Initializes the iterator with the source data.
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.
comment_entity_storage_load function core/modules/comment/comment.module Implements hook_entity_storage_load().
comment_field_storage_config_insert function core/modules/comment/comment.module Implements hook_ENTITY_TYPE_insert() for 'field_storage_config'.
comment_form_field_ui_field_storage_add_form_alter function core/modules/comment/comment.module Implements hook_form_FORM_ID_alter() for field_ui_field_storage_add_form.
comment_tokens function core/modules/comment/comment.tokens.inc Implements hook_tokens().
comment_token_info function core/modules/comment/comment.tokens.inc Implements hook_token_info().
CompiledRoute::getOptions function core/lib/Drupal/Core/Routing/CompiledRoute.php Returns the options.
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 constraint with both valid and invalid values
for a key.
ComplexDataConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php

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