You are here

public function UcAddressesUcCountryFieldHandler::getOutputFormats in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 handlers/ubercart.handlers.inc \UcAddressesUcCountryFieldHandler::getOutputFormats()

Implements UcAddressesFieldHandler::getOutputFormats().

Overrides UcAddressesFieldHandler::getOutputFormats

File

handlers/ubercart.handlers.inc, line 455
Field handlers for Ubercart core address fields: first_name, last_name, company, etc.

Class

UcAddressesUcCountryFieldHandler
Class for the Ubercart country field.

Code

public function getOutputFormats() {
  return array(
    'country_name' => t('Name of the country'),
    'country_code2' => t('2 digit country abbreviation'),
    'country_code3' => t('3 digit country abbreviation'),
    'country_name_if' => $this
      ->getCountryDescriptionMessage(t('Name of the country')),
    'country_code2_if' => $this
      ->getCountryDescriptionMessage(t('2 digit country abbreviation')),
    'country_code3_if' => $this
      ->getCountryDescriptionMessage(t('3 digit country abbreviation')),
  );
}