You are here

function filefield_widget_info in FileField 6.2

Same name and namespace in other branches
  1. 5.2 filefield.module \filefield_widget_info()
  2. 5 filefield.module \filefield_widget_info()
  3. 6.3 filefield.module \filefield_widget_info()

Implementation of CCK's hook_widget_info().

File

./filefield.module, line 373

Code

function filefield_widget_info() {
  return array(
    'filefield_combo' => array(
      'label' => 'File',
      'field types' => array(
        'file',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_CUSTOM,
      ),
    ),
  );
}