Problem/Motivation
Deprecated Unicode::strlen() need to be replaced
Proposed resolution
Use mb_strlen() According to https://www.drupal.org/node/2850048
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | entity-embed-unicode-3036034-3.patch | 823 bytes | oknate |
Deprecated Unicode::strlen() need to be replaced
Use mb_strlen() According to https://www.drupal.org/node/2850048
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | entity-embed-unicode-3036034-3.patch | 823 bytes | oknate |
Comments
Comment #2
akshay_dremoved deprecated method please review
Comment #3
oknateThe use statement also needs to be removed.
Comment #4
wim leersLooks good, thanks both of you! 👍
Comment #6
wim leersI also verified that no other uses of
Drupal\Component\Utility\Unicoderemain in the Entity Embed module after this patch. 👍Comment #8
kristen polPer a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.