function phone_nz_metadata in Phone 7
Same name and namespace in other branches
- 6 phone.nz.inc \phone_nz_metadata()
@file CCK Field for New Zealand phone numbers.
File
- include/
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(
'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".',
);
}