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
SMS User message sleep and opt-out settings should not be visible when a number is not registered since those settings are meaningless and don't work without a number anyway
Proposed resolution
Make the Sleep and Opt out settings hidden if a number has not yet been registered.
Remaining tasks
Patch
Review
Commit
User interface changes
SMS User sleep and opt out settings will only be visible after a user has successfully registered a number.
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | sms_user_sleep_settings-2396903-3.patch | 2.59 KB | almaudoh |
#1 | sms_user_sleep_settings-2396903-1-fail.patch | 1.7 KB | almaudoh |
Comments
Comment #1
almaudoh CreditAttribution: almaudoh commentedAttached a patch with tests that should fail.
Comment #3
almaudoh CreditAttribution: almaudoh commentedNow the patch with the fix.
Comment #5
almaudoh CreditAttribution: almaudoh commentedCommitted / pushed to 7.x-1.x
Comment #6
almaudoh CreditAttribution: almaudoh commentedThis fix needs to be ported to 8.x-1.x
Comment #8
almaudoh CreditAttribution: almaudoh commentedPorted to D8 (8.x-1.x-dev)