8 Dec
2009
8 Dec
'09
12:28 a.m.
Steve Edwards wrote:
In a module I'm creating, I'm embedding the subqueue edit form from the Nodequeue module, and I need to replace the title with a text field and use a custom theme function (overriding theme_form_element) for the textfield. I've registered my theme function with hook_theme:
/** * Implementation of hook_theme */ function mymodule_theme() { return array( 'mymodule_subqueue_title' => array( 'arguments' => array($element => NULL, $value => NULL), ), ); }
The #theme command only sends one argument, the $element, There is no $value. (Not even a Zuul)