You are here

function url_field_widget_info in URL field 7

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

Implements hook_field_widget_info().

File

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