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.
This patch simplifies the i18n hooks that need to be implemented. If the objects are defined properly (there were some missing properties), i18n_string module will take care of everything else.
Also moving the hooks to i18nviews.i18n.inc file will make it cleaner and easier for future patches.
It needs a full cache refresh after applying.
Comment | File | Size | Author |
---|---|---|---|
#2 | i18nviews_simplify_hooks-1385756-2.patch | 4.7 KB | webflo |
i18nviews_simplify_hooks.patch | 4.85 KB | Jose Reyero |
Comments
Comment #1
webflo CreditAttribution: webflo commentedComment #2
webflo CreditAttribution: webflo commentedLooks good. Commit 086b8b6 on 7.x-3.x. Thanks!