function imagefield_default_item in ImageField 5.2
Same name and namespace in other branches
- 5 imagefield.module \imagefield_default_item()
File
- ./
imagefield.module, line 205 - Defines an image field type. imagefield uses content.module to store the fid, and the drupal files table to store the actual file data.
Code
function imagefield_default_item() {
return array(
'fid' => 0,
'title' => '',
'alt' => '',
);
}