function petreference_theme in Previewable email templates 6
Implementation of hook_theme().
File
- modules/
petreference/ petreference.module, line 26 - Defines a field type for referencing pet template to a node.
Code
function petreference_theme() {
return array(
'petreference_select' => array(
'arguments' => array(
'element' => NULL,
),
),
'petreference_buttons' => array(
'arguments' => array(
'element' => NULL,
),
),
'petreference_autocomplete' => array(
'arguments' => array(
'element' => NULL,
),
),
'petreference_formatter_default' => array(
'arguments' => array(
'element',
),
),
'petreference_formatter_plain' => array(
'arguments' => array(
'element',
),
),
'petreference_formatter_full' => array(
'arguments' => array(
'element',
),
'function' => 'theme_petreference_formatter_full_teaser',
),
'petreference_formatter_teaser' => array(
'arguments' => array(
'element',
),
'function' => 'theme_petreference_formatter_full_teaser',
),
'petreference_none' => array(
'arguments' => array(
'field',
),
),
);
}