public CommentForm::preview(array &$form, FormStateInterface $form_state)
Form submission handler for the 'preview' action.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
core/modules/comment/src/CommentForm.php, line 338
Class
CommentForm Base handler for comment forms.
Namespace
Drupal\comment
Code
public function preview(array &$form, FormStateInterface