function nodereference_theme in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 modules/nodereference/nodereference.module \nodereference_theme()
- 6 modules/nodereference/nodereference.module \nodereference_theme()
Implementation of hook_theme().
File
- modules/
nodereference/ nodereference.module, line 31 - Defines a field type for referencing one node from another.
Code
function nodereference_theme() {
return array(
'nodereference_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'nodereference_buttons' => array(
'arguments' => array(
'element' => NULL,
),
),
'nodereference_autocomplete' => array(
'arguments' => array(
'element' => NULL,
),
),
'nodereference_formatter_default' => array(
'arguments' => array(
'element',
),
),
'nodereference_formatter_plain' => array(
'arguments' => array(
'element',
),
),
'nodereference_formatter_full' => array(
'arguments' => array(
'element',
),
'function' => 'theme_nodereference_formatter_full_teaser',
),
'nodereference_formatter_teaser' => array(
'arguments' => array(
'element',
),
'function' => 'theme_nodereference_formatter_full_teaser',
),
);
}