You are here

function phone_br_metadata in Phone 6

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

File

./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(
    'label' => ' Phone Numbers - Brazil',
    '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".',
  );
}