Drupal 8 ships with Symfony's which makes some methods in \Drupal\Component\Utility\Unicode obsolete.

https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Util...

Comments

MahtabAlam created an issue. See original summary.

mahtabalam’s picture

StatusFileSize
new3.92 KB

I have created patch for the same.

mahtabalam’s picture

Assigned: mahtabalam » Unassigned
Status: Active » Needs review
shubham.prakash’s picture

StatusFileSize
new3.92 KB

As the #2 issue fails the test, I have added my patch. Hope this fixes the issue.

mahtabalam’s picture

@shubham.prakash both patch are same. So instead of giving copy patch please do retest.

berdir’s picture

Status: Needs review » Closed (works as designed)

But these aren't deprecated functions of the Utility class. They're all against machine names as far as I see, so using the mb_* versions aren't necessary as far as I can see.