[development] fixing nodeapi : programmatically submitting forms.

Sammy Spets sammys-drupal at synerger.com
Tue Jul 11 03:54:31 UTC 2006


How about making it a drupal_<blah>() and contribbing it into 4.7.3?

-- 
Sammy Spets
Synerger Pty Ltd
http://www.synerger.com/

On 11-Jul-06 05:26, Karoly Negyesi wrote:
> > >> function mymodule_forms() {
> > >>    $form['mymodule/form_id'] = array(
> > >>         'callback' => 'mymodule_form_id',
> > >>         'access' => user_access('can do form_id'),
> 
> *snip* doing this is blatantly easy. I actually have the script that  
> changes a return drupal_get_form to a hook forms array. Will post the code  
> later in case anyone is interested.


More information about the development mailing list