Problem/Motivation
After the core issue #2073217: Remove the $langcode parameter from the entity view/render system, the $langcode parameter was removed from hook_entity_view(). This has broken sms_user.module which uses that hook
Proposed resolution
Adjust the sms_user_entity_view() function to match new signature.
Remaining tasks
Patch.
Reviews.
Commit.
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | smsframework-2598640-5.patch | 1.83 KB | almaudoh |
| #2 | smsframework-2598640-2.patch | 915 bytes | almaudoh |
Comments
Comment #2
almaudoh commentedHere's the patch
Comment #5
almaudoh commentedAdded a small patch to fix the
TranslationWrapperrelated test fails.Comment #8
almaudoh commentedCommitted / pushed to 8.x-1.x. The fail on PHP 7 is a separate issue.