Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Move confirmation message from hook_module_enabled to hook_install
Move confirmation message from hook_module_enabled to hook_install
Comments
Comment #1
jkuma CreditAttribution: jkuma commentedComment #2
jkuma CreditAttribution: jkuma commentedHere is an attempt to solve this issue.
Comment #3
theo_ CreditAttribution: theo_ commentedWhen using t() function inside a hook_install() we have to ensure we use the proper localization function by calling get_t().
Please keep the one line syntax for it.
Comment #4
jkuma CreditAttribution: jkuma commentedHere is a second attempt with your advices.
Comment #5
theo_ CreditAttribution: theo_ commentedCommited into 7.x-1.x as 5d14b39e1
I reworked it because, get_t() was used the wrong way. You should have written :