function imceimage_elements in Imce CCK Image 6
Same name and namespace in other branches
- 6.2 imceimage.module \imceimage_elements()
hook_elements - implementation defines name of the field type and the items that are stored against this field.
File
- ./
imceimage.module, line 549
Code
function imceimage_elements() {
$el = array();
$el['imceimage'] = array(
'#input' => TRUE,
'#columns' => array(
'imceimage_path',
'imceimage_width',
'imceimage_height',
'imceimage_alt',
'imceimage_title',
),
'#delta' => 0,
'#process' => array(
'imceimage_process',
),
'#theme' => 'imceimage_override',
);
return $el;
}