You are here

function linkimagefield_default_item in Link Image Field 5

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

1 call to linkimagefield_default_item()
linkimagefield_field in ./linkimagefield.module
Implementation of hook_field().

File

./linkimagefield.module, line 11
Defines an link image field type. linkimagefield uses content.module to store the fid, and the drupal files table to store the actual file data.

Code

function linkimagefield_default_item() {
  return array(
    'fid' => 0,
    'title' => '',
    'alt' => '',
    'url' => '',
  );
}