Submit function to handle the redirection per entity create/edit action.
2 string references to 'entity_redirect_new'
- entity_redirect_form_alter in ./
entity_redirect.module - Implements hook_form_alter().
- entity_redirect_submit in ./
entity_redirect.module - Submit function to handle the redirection per entity create/edit action.
File
-
./
entity_redirect.module, line 192
Code
function entity_redirect_new($form, FormStateInterface $form_state) {
$form_state->set('entity_redirect_new', TRUE);
entity_redirect_submit($form, $form_state);
}