You are here

function phone_widget_info in Phone 5

Same name and namespace in other branches
  1. 6 phone.module \phone_widget_info()

Implementation of hook_widget_info().

File

./phone.module, line 115
Defines phone number fields for CCK. Provide some verifications on the phone numbers

Code

function phone_widget_info() {
  return array(
    'phone' => array(
      'label' => t('Textfield'),
      'field types' => array(
        'fr_phone',
        'it_phone',
        'ca_phone',
        'uk_phone',
        'ru_phone',
      ),
    ),
  );
}