Closed (fixed)
Project:
Login tracker
Version:
7.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
31 Dec 2014 at 07:20 UTC
Updated:
16 Jan 2015 at 04:04 UTC
Jump to comment: Most recent
Hi,
Thanks for the module.
I've been trying to add some data in $data while module adds login data into DB. As per the login_tracker.api.php file I've tried implementing the hook_login_tracker_login_data() hook, but since this hook is called using drupal_alter(), we need to append "_alter" at the end. So the hook implementation will look like this "hook_login_tracker_login_data_alter()" i.e. "MODULENAME_login_tracker_login_data_alter()".
Yogesh
| Comment | File | Size | Author |
|---|---|---|---|
| login_tracker.api_.php_.patch | 569 bytes | yogeshchaugule8 |
Comments
Comment #2
leewillis77 commentedThanks for the patch - I've committed this to the 7.x-1.x branch.
Comment #3
yogeshchaugule8 commented