CommentManagerInterface

Comment manager contains common functions to manage comment fields.

Hierarchy

File

core/modules/comment/src/CommentManagerInterface.php, line 10

Namespace

Drupal\comment

Members

Name Modifiers Type Description
CommentManagerInterface::addBodyField public function Creates a comment_body field.
CommentManagerInterface::COMMENT_MODE_FLAT constant Comments are displayed in a flat list - expanded.
CommentManagerInterface::COMMENT_MODE_THREADED constant Comments are displayed as a threaded list - expanded.
CommentManagerInterface::forbiddenMessage public function Provides a message if posting comments is forbidden.
CommentManagerInterface::getCountNewComments public function Returns the number of new comments available on a given entity for a user.
CommentManagerInterface::getFields public function Utility function to return an array of comment fields.
doc_Drupal
2016-10-29 08:50:54
Comments
Leave a Comment

Please login to continue.