You are here

function mobile_number_field_widget_info in Mobile Number 7

Implements hook_field_widget_info().

File

./mobile_number.module, line 369
mobile_number.module

Code

function mobile_number_field_widget_info() {
  return array(
    'mobile_number_default' => array(
      'label' => t('Mobile Number'),
      'field types' => array(
        'mobile_number',
        'telephone',
      ),
      'settings' => array(
        'verify' => MOBILE_NUMBER_VERIFY_NONE,
        'message' => MOBILE_NUMBER_DEFAULT_SMS_MESSAGE,
        'countries' => array(),
        'default_country' => 'US',
        'placeholder' => NULL,
      ),
    ),
  );
}