SilverStripe\Comments\Forms\CommentForm::doPostComment
Process which creates a {@link Comment} once a user submits a comment from this form.
Signature
public function doPostComment(array
$data,
Form
$form )
Parameters
$data
— array$form
— object
Returns
- HTTPResponse