function pdf_to_imagefield_widget_info in PDF to ImageField 6
Same name and namespace in other branches
- 6.2 pdf_to_imagefield.module \pdf_to_imagefield_widget_info()
Implementation of CCK's hook_widget_info().
File
- ./
pdf_to_imagefield.module, line 70 - PDF to ImageField core hooks and menu callbacks.
Code
function pdf_to_imagefield_widget_info() {
$module_path = drupal_get_path('module', 'pdf_to_imagefield');
return array(
'pdf_to_imagefield_widget' => array(
'label' => t('PDF to ImageField'),
'field types' => array(
'filefield',
),
'multiple values' => CONTENT_HANDLE_CORE,
'callbacks' => array(
'default value' => CONTENT_CALLBACK_CUSTOM,
),
'description' => t('An edit widget for pdf files, including functionality to convert pdf pages to ImageField files.'),
),
);
}