Needs work
Project:
Mode
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Aug 2009 at 16:26 UTC
Updated:
14 Mar 2011 at 16:17 UTC
Here's some initial work that adds Exporting Modes to Code, and implements hook_mode_defaults().
Adds a second table to the modes admin page for "Default" modes, with just an Import link. That link mimics views behavior, it loads up the default mode code and puts it as default values in the Mode Add form.
This is very initial code, eventually would want to fully integrate the normal/default/overridden/revert paradigm, but for now, its a nice way to get permissions into code.
| Comment | File | Size | Author |
|---|---|---|---|
| mode-defaults.patch | 7.5 KB | jon pugh |
Comments
Comment #1
codekarate commentedI am just curious if this has been looked at recently. I could definitely have a use for this module but the exportability would be very beneficial. If it isn't being worked on actively, I will look over the patch and ensure it still works with the beta3 release as well as add any additional changes that I need.