function phone_ch_metadata in Phone 6
Same name and namespace in other branches
- 7 include/phone.ch.inc \phone_ch_metadata()
File
- ./
phone.ch.inc, line 10 - CCK Field for Switzerland phone numbers.
Code
function phone_ch_metadata() {
// These strings are translated using t() on output.
return array(
'label' => 'Phone Numbers - Switzerland',
'error' => '"%value" is not a valid Swiss phone number<br>Swiss phone numbers should only contain numbers and spaces and be like 099 999 99 99',
);
}