You are here

function videoftp_widget_info in Video 6.5

Same name and namespace in other branches
  1. 6.4 types/videoftp/videoftp.module \videoftp_widget_info()

Implementation of CCK's hook_widget_info().

File

types/videoftp/videoftp.module, line 52

Code

function videoftp_widget_info() {
  return array(
    'videoftp_widget' => array(
      'label' => t('Video FTP'),
      'field types' => array(
        'filefield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_CUSTOM,
      ),
      'description' => t('Widget allows you to select video files uploaded through FTP to be attached to the node.'),
    ),
  );
}