function url_field_widget_info in URL field 8
Same name and namespace in other branches
- 7 url.module \url_field_widget_info()
Implements hook_field_widget_info().
File
- ./
url.module, line 112 - Provides a URL field type that stores external links with optional titles.
Code
function url_field_widget_info() {
$info['url_external'] = array(
'label' => t('External URL field'),
'field types' => array(
'url',
),
'settings' => array(
'size' => 60,
),
);
return $info;
}