- // Rebuilding the form as part of the AJAX request is a workaround to
- // enforce machine_name validation.
- // @todo This was added as part of #2932226 and it should be removed once
- // https://www.drupal.org/project/drupal/issues/2557299 solves it in a
- // more generic way.
- '#executes_submit_callback' => TRUE,
- '#submit' => [[static::class, 'rebuildSubmit']],