Loading core/modules/content_translation/content_translation.admin.inc +1 −2 Original line number Diff line number Diff line Loading @@ -401,7 +401,6 @@ function content_translation_form_language_content_settings_submit(array $form, } } // Ensure entity and menu router information are correctly rebuilt. \Drupal::entityTypeManager()->clearCachedDefinitions(); // Ensure menu router information is correctly rebuilt. \Drupal::service('router.builder')->setRebuildNeeded(); } core/modules/content_translation/content_translation.module +0 −1 Original line number Diff line number Diff line Loading @@ -642,7 +642,6 @@ function content_translation_language_configuration_element_submit(array $form, if (\Drupal::service('content_translation.manager')->isEnabled($context['entity_type'], $context['bundle']) != $enabled) { \Drupal::service('content_translation.manager')->setEnabled($context['entity_type'], $context['bundle'], $enabled); \Drupal::entityTypeManager()->clearCachedDefinitions(); \Drupal::service('router.builder')->setRebuildNeeded(); } } Loading Loading
core/modules/content_translation/content_translation.admin.inc +1 −2 Original line number Diff line number Diff line Loading @@ -401,7 +401,6 @@ function content_translation_form_language_content_settings_submit(array $form, } } // Ensure entity and menu router information are correctly rebuilt. \Drupal::entityTypeManager()->clearCachedDefinitions(); // Ensure menu router information is correctly rebuilt. \Drupal::service('router.builder')->setRebuildNeeded(); }
core/modules/content_translation/content_translation.module +0 −1 Original line number Diff line number Diff line Loading @@ -642,7 +642,6 @@ function content_translation_language_configuration_element_submit(array $form, if (\Drupal::service('content_translation.manager')->isEnabled($context['entity_type'], $context['bundle']) != $enabled) { \Drupal::service('content_translation.manager')->setEnabled($context['entity_type'], $context['bundle'], $enabled); \Drupal::entityTypeManager()->clearCachedDefinitions(); \Drupal::service('router.builder')->setRebuildNeeded(); } } Loading