function postal_code_validation_get_dependencies in Postal Code Validation 7
Return an array with countries that use another country's postal codes.
3 calls to postal_code_validation_get_dependencies()
- PostalCodeValidationTestCase::test in tests/
PostalCodeValidationTestCase.test - The tests.
- postal_code_validation_validate in ./
postal_code_validation.module - Check if a postal code is valid for a given country.
- _postal_code_validation_validate_US in countries/
us.inc - Implements _postal_code_validation_validate_COUNTRYCODE().
File
- ./
postal_code_validation.module, line 241 - Module file.
Code
function postal_code_validation_get_dependencies() {
return array(
'BL' => 'FR',
'GF' => 'FR',
'GP' => 'FR',
'MC' => 'FR',
'MF' => 'FR',
'MQ' => 'FR',
'NC' => 'FR',
'PF' => 'FR',
'PM' => 'FR',
'RE' => 'FR',
'TF' => 'FR',
'WF' => 'FR',
'YT' => 'FR',
'AC' => 'GB',
'FK' => 'GB',
'GG' => 'GB',
'GI' => 'GB',
'GS' => 'GB',
'IM' => 'GB',
'IO' => 'GB',
'JE' => 'GB',
'PN' => 'GB',
'SH' => 'GB',
'TC' => 'GB',
'SM' => 'IT',
'VA' => 'IT',
'AS' => 'US',
'FM' => 'US',
'GU' => 'US',
'MH' => 'US',
'MP' => 'US',
'PR' => 'US',
'PW' => 'US',
'VI' => 'US',
);
}