function nodereference_theme in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 modules/nodereference/nodereference.module \nodereference_theme()
- 6.2 modules/nodereference/nodereference.module \nodereference_theme()
Implementation of hook_theme().
File
- modules/
nodereference/ nodereference.module, line 25 - Defines a field type for referencing one node from another.
Code
function nodereference_theme() {
return array(
'nodereference_item_simple' => array(
'arguments' => array(
'item' => NULL,
),
),
'nodereference_item_advanced' => array(
'arguments' => array(
'item' => NULL,
'view' => NULL,
),
),
'nodereference_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'nodereference_autocomplete' => array(
'arguments' => array(
'element' => NULL,
),
),
'nodereference_formatter_default' => 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',
),
);
}