Timeline for clearing cache to call hooks in .module file
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 9:13 | history | edited | CommunityBot |
Commonmark migration
|
|
Apr 22, 2016 at 8:18 | comment | added | googletorp | @SugandhKhanna You might have been using it in a such a way, that you avoided the issue, but this is definitely a misuse of tokens. Like I said, to really help you we need to know what you actually want to achieve. | |
Apr 22, 2016 at 7:47 | comment | added | Sugandh Khanna | Thanks @googletorp but the approach of using hook_token_info in .module file worked fine in Drupal 7. Without clearing cache, everything is running perfect. and the same approach is used by drupal.org/project/token (token) contibuted module, which is also running smooth. | |
Apr 22, 2016 at 7:35 | history | answered | googletorp | CC BY-SA 3.0 |