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.
i18n_boxes_form_alter()
checks if 'i18n_blocks' is enabled, and if so, hides the Languages fieldset.
Problem is, the module is actually called 'i18n_block'—singular, not plural—so it never hides that fieldset.
Comment | File | Size | Author |
---|---|---|---|
#2 | i18n_boxes-1979006-2.patch | 627 bytes | BrockBoland |
Comments
Comment #1
BrockBoland CreditAttribution: BrockBoland commentedThis might have changed between 6 and 7. The key of the Languages fieldset also changed, from 'i18n' to 'i18n_block.'
Comment #2
BrockBoland CreditAttribution: BrockBoland commentedFix attached.
Comment #3
blakehall CreditAttribution: blakehall commentedPretty simple patch, and it's working great for me.