You are here

function sms_international_countries in SMS Framework 7

Same name and namespace in other branches
  1. 6.2 modules/sms_international/sms_international.module \sms_international_countries()

Returns a list of country names and country codes.

File

modules/sms_international/sms_international.module, line 54
Contains sms_international module.

Code

function sms_international_countries() {
  return array(
    'ES' => array(
      'name' => t('Spain'),
      'code' => '34',
      'length' => 9,
    ),
    'GB' => array(
      'name' => t('United Kingdom'),
      'code' => '44',
      'length' => 10,
    ),
    'US' => array(
      'name' => t('United States'),
      'code' => '1',
      'length' => 10,
    ),
  );
}