function addressfield_tokens_default_country in Addressfield Tokens 7
Returns the country that has been configured as the default country.
6 calls to addressfield_tokens_default_country()
- addressfield_tokens_admin_form in ./
addressfield_tokens.admin.inc - Provides a form for configuring regional options for addresses.
- addressfield_tokens_tokens in ./
addressfield_tokens.tokens.inc - Implements hook_tokens().
- addressfield_tokens_token_info_alter in ./
addressfield_tokens.tokens.inc - Implements hook_token_info_alter().
- theme_addressfield_formatter__citystate in ./
addressfield_tokens.theme.inc - Implements theme_field();
- theme_addressfield_formatter__linear in ./
addressfield_tokens.theme.inc - Implements theme_field();
File
- ./
addressfield_tokens.module, line 236 - Main components.
Code
function addressfield_tokens_default_country() {
return variable_get('addressfield_tokens_default_country', 'US');
}