By nicxvan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
All functions in locale.fetch.inc are deprecated and moved to the LocaleFetch service class.
locale_translation_batch_update_build is replaced by \Drupal::service(LocaleFetch::class)->buildUpdateBatch($projects, $langcodes, $options)
locale_translation_batch_fetch_build is replaced by \Drupal::service(LocaleFetch::class)->buildFetchBatch($projects, $langcodes, $options)
_locale_translation_fetch_operations -> There is no replacement.
Important note: Before 11.4 was released the method names were changed: https://www.drupal.org/node/3589759
Impacts:
Module developers
Site templates, recipes and distribution developers