You are here

function _webform_defaults_mobile_number in Mobile Number 7

Webform mobile number defaults.

File

components/mobile_number.inc, line 11
Mobile_number.inc.

Code

function _webform_defaults_mobile_number() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'required' => 0,
    'pid' => 0,
    'weight' => 0,
    'extra' => array(
      'default_country' => 'US',
      'countries' => array(),
      'verify' => MOBILE_NUMBER_VERIFY_OPTIONAL,
      'message' => MOBILE_NUMBER_DEFAULT_SMS_MESSAGE,
      'private' => FALSE,
    ),
  );
}