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.
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 |
---|---|---|---|
#5 | Deprecated_strtolower_removed-3034169-5.patch | 1.98 KB | akshay_d |
#2 | Deprecated_strtolower_removed-3034169-2.patch | 3.98 KB | akshay_d |
Comments
Comment #2
akshay_dremoved deprecated method
Comment #4
akshay_dComment #5
akshay_dupdated the patch please review
Comment #6
SabitDev CreditAttribution: SabitDev at EPAM Systems, Drupal Ukraine Community commentedTested and reviewed, everything works correctly
Comment #7
pifagorComment #9
pifagorI rerolled the patch
Comment #10
pifagorThanks
Comment #13
Dave ReidComment #14
Dave Reid