function field_ipaddress_field_widget_info in IP address fields 7
Implements hook_field_widget_info().
File
- ./
field_ipaddress.module, line 107
Code
function field_ipaddress_field_widget_info() {
return array(
'field_ipaddress_shorthand' => array(
'label' => t('Shorthand input'),
'field types' => array(
'field_ipaddress',
),
),
'field_ipaddress_cidr' => array(
'label' => t('CIDR input'),
'field types' => array(
'field_ipaddress',
),
),
'field_ipaddress_long' => array(
'label' => t('Long input'),
'field types' => array(
'field_ipaddress',
),
),
);
}