function url_field_formatter_info in URL field 8
Same name and namespace in other branches
- 7 url.module \url_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
url.module, line 211 - Provides a URL field type that stores external links with optional titles.
Code
function url_field_formatter_info() {
$info['url_default'] = array(
'label' => t('Link'),
'field types' => array(
'url',
),
'settings' => array(
'trim_length' => 80,
'nofollow' => FALSE,
),
);
return $info;
}