Skip to content
Snippets Groups Projects
Commit baa66d85 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2350499 by stephr: Fixed Double message after content translations saved.

parent c52c5f9a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -338,6 +338,4 @@ function content_translation_form_language_content_settings_submit(array $form,
// Ensure entity and menu router information are correctly rebuilt.
\Drupal::entityManager()->clearCachedDefinitions();
\Drupal::service('router.builder')->setRebuildNeeded();
drupal_set_message(t('Settings successfully updated.'));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment