public function EntityEmbedDialog::submitAndShowReview in Entity Embed 8
Submit and show review step after submit.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
Return value
\Drupal\Core\Ajax\AjaxResponse The ajax response.
File
- src/
Form/ EntityEmbedDialog.php, line 762
Class
- EntityEmbedDialog
- Provides a form to embed entities by specifying data attributes.
Namespace
Drupal\entity_embed\FormCode
public function submitAndShowReview(array &$form, FormStateInterface $form_state) {
return $this
->submitStep($form, $form_state, 'review');
}