function uc_option_image_theme in Ubercart Option Images 6
Same name and namespace in other branches
- 7 uc_option_image.module \uc_option_image_theme()
Implements hook_theme().
File
- ./
uc_option_image.module, line 543 - Provides image upload fields for attribute options. @author Tj Holowaychuk <tj@vision-media.ca/> @link http://vision-media.ca @todo supply 'default' image field when no option images are supplied or no option image attributes are…
Code
function uc_option_image_theme() {
return array(
'uc_option_image' => array(
'arguments' => array(
'file' => NULL,
'size' => NULL,
),
),
'uc_option_image_preloaded' => array(
'arguments' => array(
'node' => NULL,
'size' => NULL,
),
),
'uc_option_image_no_image' => array(
'arguments' => array(
'node' => NULL,
'size' => NULL,
),
),
'uc_option_image_no_image_path' => array(
'arguments' => array(
'node' => NULL,
'size' => NULL,
),
),
);
}