You are here

function url_field_formatter_info in URL field 7

Same name and namespace in other branches
  1. 8 url.module \url_field_formatter_info()

Implements hook_field_formatter_info().

File

./url.module, line 232
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;
}