Skip to content
Snippets Groups Projects
Commit 9eaebdeb authored by Fran Rouco's avatar Fran Rouco Committed by Ruben Egiguren
Browse files

Issue #3254811 by frouco, keopx: Undefines index (name or title) in the delete forms

parent d560fc5e
No related branches found
No related tags found
1 merge request!1Issue #3254811: Undefines index (name or title) in the delete forms
......@@ -85,6 +85,9 @@ function entity_machine_name_form_taxonomy_overview_terms_alter(&$form, FormStat
* Implements hook_form_alter().
*/
function entity_machine_name_form_alter(&$form, FormStateInterface $form_state, $form_id) {
if (str_contains($form_id, 'delete')) {
return;
}
\Drupal::service('entity_machine_name.machine_name_form')->formAlter($form, $form_state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment