You are here

function imagefield_default_item in ImageField 5

Same name and namespace in other branches
  1. 5.2 imagefield.module \imagefield_default_item()

@file Defines an image field type. imagefield uses content.module to store the fid, and the drupal files table to store the actual file data.

1 call to imagefield_default_item()
imagefield_field in ./imagefield.module
Implementation of hook_field().

File

./imagefield.module, line 11
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' => '',
  );
}