Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up of #1937600: Determine what services to register in the new Drupal class
I guess this one would be useful to have as well?
Look for drupal_container()->get('transliteration') or Drupal::service('transliteration') and replace with Drupal::transliteration() (needs to be added, with \ prepended if it's in classes).
Once done, the change notice at http://drupal.org/node/1842748 should be updated.
Comment | File | Size | Author |
---|---|---|---|
#10 | drupal-transliteration_service-1961542-10.patch | 1.98 KB | mtift |
#7 | drupal-transliteration_service-1961542-7.patch | 1.99 KB | mtift |
#2 | drupal-transliteration_service-1961542-2.patch | 679 bytes | ParisLiakos |
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedhavent grepped but i think there is no usage yet, since we have #1842718: Use new Transliteration functionality in core for machine names
Comment #2
ParisLiakos CreditAttribution: ParisLiakos commentedactually only one usage..and in a comment:) piece of cake!
Comment #3
BerdirDrupal::transliteration() doesn't exist yet :)
Comment #4
ParisLiakos CreditAttribution: ParisLiakos commented/me facepalms
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedthats better
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentederm
Comment #7
mtiftSo like this?
Comment #8
BerdirYes.
Comment #10
mtiftLet's try that again.
Comment #11
BerdirLooks good to me, didn't find any other places that need to be changed.
Comment #12
catchCommitted/pushed to 8.x, thanks!
Comment #13.0
(not verified) CreditAttribution: commentedUpdated issue summary.