You are here

public function UcAddressesDefaultAddressFieldHandler::isFieldEnabled in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 handlers/uc_addresses.handlers.inc \UcAddressesDefaultAddressFieldHandler::isFieldEnabled()

Implements UcAddressesFieldHandler::isFieldEnabled().

Overrides UcAddressesFieldHandler::isFieldEnabled

File

handlers/uc_addresses.handlers.inc, line 193
Field handlers for Ubercart Addresses address fields:

Class

UcAddressesDefaultAddressFieldHandler
Class for default address field.

Code

public function isFieldEnabled() {
  return variable_get('uc_addresses_use_default_' . $this
    ->getProperty('default_type'), TRUE);
}