You are here

function filefield_filefield_data_info in FileField 6.3

Implementation of hook_filefield_data_info().

Define a list of values that this module stores in the "data" column of a file field. The callback function receives the portion of the data column defined by key and should return a value suitable for printing to the page.

File

./filefield.module, line 528
FileField: Defines a CCK file field type.

Code

function filefield_filefield_data_info() {
  return array(
    'description' => array(
      'title' => t('Description'),
      'callback' => 'check_plain',
    ),
  );
}