You are here

function imagefield_tokens_field_info_alter in ImageField Tokens 7

Implements hook_field_info_alter().

File

./imagefield_tokens.module, line 15
Implements image Alt and Title field defaults with support for tokens.

Code

function imagefield_tokens_field_info_alter(&$info) {
  $info['image']['instance_settings'] += array(
    'alt_field_default' => '',
    'alt_field_sync_title' => 0,
    'alt_field_update_on_edit' => 0,
    'alt_field_hide' => 0,
    'title_field_default' => '',
    'title_field_update_on_edit' => 0,
    'title_field_hide' => 0,
  );
}