public function EntityEmbedDialog::submitAndShowSelect in Entity Embed 8
Submit and show select 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 747
Class
- EntityEmbedDialog
- Provides a form to embed entities by specifying data attributes.
Namespace
Drupal\entity_embed\FormCode
public function submitAndShowSelect(array &$form, FormStateInterface $form_state) {
return $this
->submitStep($form, $form_state, 'select');
}