diff --git a/core/modules/locale/locale.pages.inc b/core/modules/locale/locale.pages.inc index 4119d491b6..2f8957cc88 100644 --- a/core/modules/locale/locale.pages.inc +++ b/core/modules/locale/locale.pages.inc @@ -13,12 +13,14 @@ * * Manually checks the translation status without the use of cron. * - * @deprecated in Drupal 8.5.0 and will be removed before 9.0.0. + * @deprecated in Drupal 8.5.0 and will be removed before 9.0.0. It is unused by + * Drupal core. Duplicate this function in your own extension if you need its + * behavior. * - * @see https://www.drupal.org/node/2551259 + * @see https://www.drupal.org/node/2931188 */ function locale_translation_manual_status() { - @trigger_error('locale_translation_manual_status() is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2551259.', E_USER_DEPRECATED); + @trigger_error('locale_translation_manual_status() is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. It is unused by Drupal core. Duplicate this function in your own extension if you need its behavior.', E_USER_DEPRECATED); module_load_include('compare.inc', 'locale'); // Check the translation status of all translatable projects in all languages. diff --git a/core/modules/locale/tests/src/Kernel/LocaleDeprecationsTest.php b/core/modules/locale/tests/src/Kernel/LocaleDeprecationsTest.php new file mode 100644 index 0000000000..5b3a2f8377 --- /dev/null +++ b/core/modules/locale/tests/src/Kernel/LocaleDeprecationsTest.php @@ -0,0 +1,32 @@ +assertNotNull(\locale_translation_manual_status()); + } + +}