Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
Deprecated strtolower need to be replaced with Drupal Services
in Drupal 8.6.0, will be removed before Drupal 9.0.0.
Proposed resolution
Use mb_strtolower() instead. According tohttps://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Utility%21Unicode.php/function/Unicode%3A%3Astrtolower/8.6.x
Remaining tasks
Update the deprecated method and provide the patch
Comment | File | Size | Author |
---|---|---|---|
#2 | Deprecated_strtolower_removed-3034187-2.patch | 1.16 KB | akshay_d |
|
Comments
Comment #2
akshay_dremoved the deprecated method, please review
Comment #3
Oleksandr Yushchenko CreditAttribution: Oleksandr Yushchenko at EPAM Systems commentedPatch in comment #2 works fine. Tested on clean D8 installation locally and with simplytest.me.
Comment #4
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedThanks, this was fixed in #3042586
Comment #5
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commented