function linkimagefield_widget_info in Link Image Field 6
Same name and namespace in other branches
- 5 linkimagefield.module \linkimagefield_widget_info()
Implementation of CCK's hook_widget_info().
Return value
array
File
- ./
linkimagefield.module, line 130 - Defines a link image field type.
Code
function linkimagefield_widget_info() {
$module_path = drupal_get_path('module', 'linkimagefield');
return array(
'linkimagefield_widget' => array(
'label' => t('Link Image'),
'field types' => array(
'filefield',
),
'multiple values' => CONTENT_HANDLE_CORE,
'callbacks' => array(
'default value' => CONTENT_CALLBACK_CUSTOM,
),
'description' => t('An edit widget for image files that display as a link, including a preview of the image.'),
),
);
}