Closed (fixed)
Project:
Module Builder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2011 at 21:31 UTC
Updated:
9 Apr 2011 at 12:32 UTC
The form submission has data about hook groups which is pretty useless as all there is to go on is the human-readable label rather than any kind of machine key.
But in order to have this, the definition file needs to use an ID.
I'd like to switch to using something like JSON rather than a custom made-up format, but I'm concerned about the lack of a drupal_json_decode() on versions lower than 7. So it may be we're stuck with this format for the time being and just have to expand it a little.
Comments
Comment #1
joachim commentedFollow-on issues:
#1101974: use the hook group IDs as form checkbox keys
#1101984: add hook groups to Drush
Comment #2
joachim commentedFixed.
Big changes -- the preset definition file is now JSON.
And I've also fixed the preset selection UI, which was broken for some of the hooks.