You are here

function field_ipaddress_field_info in IP address fields 7

Implements hook_field_info().

File

./field_ipaddress.module, line 16

Code

function field_ipaddress_field_info() {
  return array(
    'field_ipaddress' => array(
      'label' => t('IP Address'),
      'description' => t('Stores a single IP address, or range of IP addresses.'),
      'default_widget' => 'field_ipaddress_cidr',
      'default_formatter' => 'field_ipaddress_cidr',
    ),
  );
}