Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 10.3.x for interface
  5. Other projects
Title Object type File name Summary
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.
CommentInterface::setThread function core/modules/comment/src/CommentInterface.php Sets the alphadecimal representation of the comment's place in a thread.
CommentInterfaceTest class core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Tests comment user interfaces.
CommentInterfaceTest.php file core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
CommentInterfaceTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentInterfaceTest.php The theme to install as the default for testing.
CommentInterfaceTest::setUp function core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Set up comments to have subject and preview disabled.
CommentInterfaceTest::testAutoFilledHtmlSubject function core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Tests that automatic subject is correctly created from HTML comment text.
CommentInterfaceTest::testAutoFilledSubject function core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Tests that the subject is automatically filled if disabled or left blank.
CommentInterfaceTest::testCommentInterface function core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Tests the comment interface.
CommentInterfaceTest::testViewMode function core/modules/comment/tests/src/Functional/CommentInterfaceTest.php Tests the comment formatter configured with a custom comment view mode.
CommentItemInterface interface core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Interface definition for Comment items.
CommentItemInterface.php file core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php
CommentItemInterface::CLOSED constant core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Comments for this entity are closed.
CommentItemInterface::FORM_BELOW constant core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Comment form should be shown below post or list of comments.
CommentItemInterface::FORM_SEPARATE_PAGE constant core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Comment form should be displayed on a separate page.
CommentItemInterface::HIDDEN constant core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Comments for this entity are hidden.
CommentItemInterface::OPEN constant core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php Comments for this entity are open.
CommentLinkBuilderInterface interface core/modules/comment/src/CommentLinkBuilderInterface.php Defines an interface for building comment links on a commented entity.
CommentLinkBuilderInterface.php file core/modules/comment/src/CommentLinkBuilderInterface.php
CommentLinkBuilderInterface::buildCommentedEntityLinks function core/modules/comment/src/CommentLinkBuilderInterface.php Builds links for the given entity.
CommentManagerInterface interface core/modules/comment/src/CommentManagerInterface.php Comment manager contains common functions to manage comment fields.
CommentManagerInterface.php file core/modules/comment/src/CommentManagerInterface.php
CommentManagerInterface::addBodyField function core/modules/comment/src/CommentManagerInterface.php Creates a comment_body field.
CommentManagerInterface::COMMENT_MODE_FLAT constant core/modules/comment/src/CommentManagerInterface.php Comments are displayed in a flat list - expanded.
CommentManagerInterface::COMMENT_MODE_THREADED constant core/modules/comment/src/CommentManagerInterface.php Comments are displayed as a threaded list - expanded.
CommentManagerInterface::forbiddenMessage function core/modules/comment/src/CommentManagerInterface.php Provides a message if posting comments is forbidden.
CommentManagerInterface::getCountNewComments function core/modules/comment/src/CommentManagerInterface.php Returns the number of new comments on a given entity for the current user.
CommentManagerInterface::getFields function core/modules/comment/src/CommentManagerInterface.php Utility function to return an array of comment fields.
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.
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.
CommentTypeInterface interface core/modules/comment/src/CommentTypeInterface.php Provides an interface defining a comment type entity.
CommentTypeInterface.php file core/modules/comment/src/CommentTypeInterface.php
CommentTypeInterface::getDescription function core/modules/comment/src/CommentTypeInterface.php Returns the comment type description.
CommentTypeInterface::getTargetEntityTypeId function core/modules/comment/src/CommentTypeInterface.php Gets the target entity type id for this comment type.

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