You are here

private function UcAddressesUcCountryFieldHandler::getCountryDescriptionMessage in Ubercart Addresses 7

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

Used in getOutputFormats() to output a description for the country format.

@access private

Parameters

string $country_description: First part of the country description.

Return value

string Description message for getOutputFormats().

See also

getOutputFormats()

1 call to UcAddressesUcCountryFieldHandler::getCountryDescriptionMessage()
UcAddressesUcCountryFieldHandler::getOutputFormats in handlers/ubercart.handlers.inc
Implements UcAddressesFieldHandler::getOutputFormats().

File

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

Class

UcAddressesUcCountryFieldHandler
Class for the Ubercart country field.

Code

private function getCountryDescriptionMessage($country_description) {
  return t('!country_description, display only for addresses whose country is different than the default store country.', array(
    '!country_description' => $country_description,
  ));
}