Hi. I use hotkey on all my websites, and I always define the same hotkeys. I'm tired of adding them to the database by hand each time, so I created some hooks for modules to define hotkeys for form items and for links.
hook_hotkey_form
hook_hotkey_links
I added text to the README file explaining the use of these hooks and providing examples. It should be very easy to migrate hotkey configurations now.
| Comment | File | Size | Author |
|---|---|---|---|
| hotkey_api.diff | 4.17 KB | galaxor |
Comments
Comment #1
galaxor commentedbtw, I'm at Drupalcon, are you?
Comment #2
smokrisCool, thanks. I've applied your patch regarding hook_hotkey_links, but the diff you attached doesn't seem to implement hook_hotkey_form.
Comment #3
smokris(clarify status)