public CommentManagerInterface::addBodyField($comment_type)
Creates a comment_body field.
Parameters
string $comment_type: The comment bundle.
File
- core/modules/comment/src/CommentManagerInterface.php, line 45
Class
- CommentManagerInterface
- Comment manager contains common functions to manage comment fields.
Namespace
Drupal\comment
Code
public function addBodyField($comment_type);
Please login to continue.