Download & Extend

Hooks for modules to define hotkeys

Project:Hotkey
Version:6.x-2.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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.

AttachmentSize
hotkey_api.diff4.17 KB

Comments

#1

btw, I'm at Drupalcon, are you?

#2

Version:6.x-2.2» 6.x-2.3

Cool, thanks. I've applied your patch regarding hook_hotkey_links, but the diff you attached doesn't seem to implement hook_hotkey_form.

#3

Version:6.x-2.3» 6.x-2.4
Status:needs review» needs work

(clarify status)