| 5 comment.module | comment_save($edit) |
| 6 comment.module | comment_save( |
| 7 comment.module | comment_save($comment) |
| 8 comment.module | comment_save(Comment $comment) |
Accepts a submission of new or changed comment content.
Parameters
Drupal\comment\Comment $comment: A comment object.
9 calls to comment_save()
File
- core/
modules/ comment/ comment.module, line 1473 - Enables users to comment on published content.
Code
function comment_save(Comment $comment) {
$comment->save();
}
Login or register to post comments