You are here

function phone_br_metadata in Phone 7

Same name and namespace in other branches
  1. 6 phone.br.inc \phone_br_metadata()

File

include/phone.br.inc, line 10
CCK Field for Brazilian phone numbers. (based on CCK Field for French phone numbers.)

Code

function phone_br_metadata() {
  return array(
    'error' => '"%value" is not a valid Brazilian phone number<br>Brazilian phone numbers should contain only numbers and spaces and - and be like 099 9999-9999, 99 9999-9999 or 99 99999-9999 with an optional prefix of "+55".',
  );
}