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.
Currently the Terms of usage have a hardcoded wight and it requires another form alter to move the form element for example to the end. Implementing hook_entity_extra_field_info() will allow to change the terms of use field position in user accounts form-display settings.
Comment | File | Size | Author |
---|---|---|---|
#2 | terms_of_use-add-entity_extra_field_info-2868412-2.patch | 614 bytes | osopolar |
Comments
Comment #2
osopolarComment #3
Rafal LukawieckiIt would be great to have this work for Drupal 7, but, unfortunately, the above patch requires a Drupal 8 API.
Comment #4
nkoporecTested patch from @osopolar, and it works great.Moving to RTBC.
Comment #5
ivnish CreditAttribution: ivnish commentedThanks!
Comment #7
ivnish CreditAttribution: ivnish commented