Index: imagefield.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imagefield/imagefield.module,v retrieving revision 1.112 diff -u -r1.112 imagefield.module --- imagefield.module 29 Jun 2010 23:04:42 -0000 1.112 +++ imagefield.module 8 Dec 2010 04:52:10 -0000 @@ -295,6 +295,22 @@ } /** + * Implementation of hook_filefield_data_info(). + */ +function imagefield_filefield_data_info() { + return array( + 'alt' => array( + 'title' => t('Alt text'), + 'callback' => 'check_plain', + ), + 'title' => array( + 'title' => t('Title'), + 'callback' => 'check_plain', + ), + ); +} + +/** * @defgroup "Theme Callbacks" * @{ * @see imagefield_theme().