only in patch2: unchanged: --- a/core/modules/menu_ui/menu_ui.module +++ b/core/modules/menu_ui/menu_ui.module @@ -374,7 +374,7 @@ function menu_ui_form_node_type_form_alter(&$form, FormStateInterface $form_stat ]; // @todo See if we can avoid pre-loading all options by changing the form or // using a #process callback. https://www.drupal.org/node/2310319 - // To avoid an 'illegal option' error after saving the form we have to load + // To avoid an 'invalid choice' error after saving the form we have to load // all available menu parents. Otherwise, it is not possible to dynamically // add options to the list using ajax. $options_cacheability = new CacheableMetadata();