comment_preview
function comment_preview
comment_preview(CommentInterface$comment, FormStateInterface$form_state)
Generates a comment preview.
Parameters
\Drupal\comment\CommentInterface $comment: The comment entity to preview.
Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array An array as expected by 登录查看完整内容