function field_ipaddress_field_formatter_info in IP address fields 7
Implements hook_field_formatter_info().
File
- ./
field_ipaddress.module, line 37
Code
function field_ipaddress_field_formatter_info() {
return array(
'field_ipaddress_shorthand' => array(
'label' => t('List of IPs (shorthand)'),
'field types' => array(
'field_ipaddress',
),
),
'field_ipaddress_cidr' => array(
'label' => t('List of IPs (CIDR)'),
'field types' => array(
'field_ipaddress',
),
),
);
}