function phone_field_info in Phone 5
Same name and namespace in other branches
- 6 phone.module \phone_field_info()
- 7.2 phone.module \phone_field_info()
- 7 phone.module \phone_field_info()
Implementation of hook_field_info().
File
- ./
phone.module, line 15 - Defines phone number fields for CCK. Provide some verifications on the phone numbers
Code
function phone_field_info() {
return array(
'fr_phone' => array(
'label' => t('French Phone Numbers'),
),
'it_phone' => array(
'label' => t('Italian Phone Numbers'),
),
'ca_phone' => array(
'label' => t('US & Canadian Phone Numbers'),
),
'uk_phone' => array(
'label' => t('British (UK) Phone Numbers'),
),
'ru_phone' => array(
'label' => t('Russian Phone Numbers'),
),
);
}