It looks like, from looking at ctools/includes/export-ui.inc, we just need to define 'allowed operations' for the plugin that include 'test', and then add a test_page() method to mailhandler_mailbox_ui.class.php.
Annoying... I got it mostly working, but I can't figure out how to define the 'test' menu callback in mailhandler.inc ... everything seems to be working except the callback isn't actually getting hit...
Comments
Comment #1
danepowell commentedIt looks like, from looking at ctools/includes/export-ui.inc, we just need to define 'allowed operations' for the plugin that include 'test', and then add a test_page() method to mailhandler_mailbox_ui.class.php.
Comment #2
danepowell commentedAnnoying... I got it mostly working, but I can't figure out how to define the 'test' menu callback in mailhandler.inc ... everything seems to be working except the callback isn't actually getting hit...
Comment #3
danepowell commented#1367348: Example of adding allowed operations?
Comment #4
danepowell commentedGoing to need some help from ctools on this one...
Comment #5
danepowell commentedMerlinofchaos was extremely helpful and I've made good progress on this on my testing server, will push it live shortly...
Comment #6
danepowell commentedAdded in 6.x-2.x:
http://drupalcode.org/project/mailhandler.git/commit/6084eb6
Comment #7
danepowell commentedhttp://drupalcode.org/project/mailhandler.git/commit/fac9fac