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 10.3.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
CommentForm::$entityFieldManager property core/modules/comment/src/CommentForm.php The entity field manager.
CommentForm::$renderer property core/modules/comment/src/CommentForm.php The renderer.
CommentForm::actions function core/modules/comment/src/CommentForm.php Returns an array of supported actions for the current entity form.
CommentForm::buildEntity function core/modules/comment/src/CommentForm.php Builds an updated entity object based upon the submitted form values.
CommentForm::create function core/modules/comment/src/CommentForm.php Instantiates a new instance of this class.
CommentForm::flagViolations function core/modules/comment/src/CommentForm.php Flags violations for the current form.
CommentForm::form function core/modules/comment/src/CommentForm.php Gets the actual form array to be built.
CommentForm::getEditedFieldNames function core/modules/comment/src/CommentForm.php Gets the names of all fields edited in the form.
CommentForm::getStatusMessage function core/modules/comment/src/CommentForm.php Gets an appropriate status message when a comment is saved.
CommentForm::preview function core/modules/comment/src/CommentForm.php Form submission handler for the 'preview' action.
CommentForm::save function core/modules/comment/src/CommentForm.php Form submission handler for the 'save' action.
CommentForm::__construct function core/modules/comment/src/CommentForm.php Constructs a new CommentForm.
CommentHostnameTest class core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests the hostname base field.
CommentHostnameTest.php file core/modules/comment/tests/src/Kernel/CommentHostnameTest.php
CommentHostnameTest::$modules property core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Modules to install.
CommentHostnameTest::testGetDefaultHostname function core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests hostname default value callback.
CommentIntegrationTest class core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php Tests integration of comment with other components.
CommentIntegrationTest.php file core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
CommentIntegrationTest::$modules property core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php Modules to install.
CommentIntegrationTest::setUp function core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
CommentIntegrationTest::testCommentDefaultOwner function core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php Tests the default owner of comment entities.
CommentIntegrationTest::testViewMode function core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php Tests view mode setting integration.
CommentInterface interface core/modules/comment/src/CommentInterface.php Provides an interface defining a comment entity.
CommentInterface.php file core/modules/comment/src/CommentInterface.php
CommentInterface::ANONYMOUS_MAYNOT_CONTACT constant core/modules/comment/src/CommentInterface.php Anonymous posters cannot enter their contact information.
CommentInterface::ANONYMOUS_MAY_CONTACT constant core/modules/comment/src/CommentInterface.php Anonymous posters may leave their contact information.
CommentInterface::ANONYMOUS_MUST_CONTACT constant core/modules/comment/src/CommentInterface.php Anonymous posters are required to leave their contact information.
CommentInterface::getAuthorEmail function core/modules/comment/src/CommentInterface.php Returns the comment author's email address.
CommentInterface::getAuthorName function core/modules/comment/src/CommentInterface.php Returns the comment author's name.
CommentInterface::getCommentedEntity function core/modules/comment/src/CommentInterface.php Returns the entity to which the comment is attached.
CommentInterface::getCommentedEntityId function core/modules/comment/src/CommentInterface.php Returns the ID of the entity to which the comment is attached.
CommentInterface::getCommentedEntityTypeId function core/modules/comment/src/CommentInterface.php Returns the type of the entity to which the comment is attached.
CommentInterface::getCreatedTime function core/modules/comment/src/CommentInterface.php Returns the time that the comment was created.
CommentInterface::getFieldName function core/modules/comment/src/CommentInterface.php Returns the name of the field the comment is attached to.
CommentInterface::getHomepage function core/modules/comment/src/CommentInterface.php Returns the comment author's home page address.
CommentInterface::getHostname function core/modules/comment/src/CommentInterface.php Returns the comment author's hostname.
CommentInterface::getParentComment function core/modules/comment/src/CommentInterface.php Returns the parent comment entity if this is a reply to a comment.
CommentInterface::getSubject function core/modules/comment/src/CommentInterface.php Returns the subject of the comment.
CommentInterface::getThread function core/modules/comment/src/CommentInterface.php Returns the alphadecimal representation of the comment's place in a thread.
CommentInterface::getTypeId function core/modules/comment/src/CommentInterface.php Get the comment type id for this comment.
CommentInterface::hasParentComment function core/modules/comment/src/CommentInterface.php Determines if this comment is a reply to another comment.
CommentInterface::NOT_PUBLISHED constant core/modules/comment/src/CommentInterface.php Comment is awaiting approval.
CommentInterface::permalink function core/modules/comment/src/CommentInterface.php Returns the permalink URL for this comment.
CommentInterface::PUBLISHED constant core/modules/comment/src/CommentInterface.php Comment is published.
CommentInterface::setAuthorName function core/modules/comment/src/CommentInterface.php Sets the name of the author of the comment.
CommentInterface::setCreatedTime function core/modules/comment/src/CommentInterface.php Sets the creation date of the comment.
CommentInterface::setFieldName function core/modules/comment/src/CommentInterface.php Sets the field ID for which this comment is attached.
CommentInterface::setHomepage function core/modules/comment/src/CommentInterface.php Sets the comment author's home page address.
CommentInterface::setHostname function core/modules/comment/src/CommentInterface.php Sets the hostname of the author of the comment.
CommentInterface::setSubject function core/modules/comment/src/CommentInterface.php Sets the subject of the comment.

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