function phone_nz_metadata in Phone 6
Same name and namespace in other branches
- 7 include/phone.nz.inc \phone_nz_metadata()
@file CCK Field for New Zealand phone numbers.
File
- ./
phone.nz.inc, line 9 - CCK Field for New Zealand phone numbers.
Code
function phone_nz_metadata() {
// These strings are translated using t() on output.
return array(
'label' => 'Phone Numbers - New Zealand ',
'error' => '"%value" is not a valid New Zealand phone number!<br>New Zealand phone numbers should contain only numbers, spaces, brackets and "-". They should look like 04 123 4567 or can optionally omit the leading 0 and have a prefix of "+64".',
);
}