public function PetPreviewForm::stepBack in Previewable email templates 8
Same name and namespace in other branches
- 8.4 src/Form/PetPreviewForm.php \Drupal\pet\Form\PetPreviewForm::stepBack()
- 8.3 src/Form/PetPreviewForm.php \Drupal\pet\Form\PetPreviewForm::stepBack()
File
- src/
Form/ PetPreviewForm.php, line 308
Class
Namespace
Drupal\pet\FormCode
public function stepBack(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild(TRUE);
$form_state
->set('step', 1);
}