You are here

function addressfield_format_address_hide_street in Address Field 7

Format callback.

See also

CALLBACK_addressfield_format_callback()

1 string reference to 'addressfield_format_address_hide_street'
address-hide-street.inc in plugins/format/address-hide-street.inc

File

plugins/format/address-hide-street.inc, line 20

Code

function addressfield_format_address_hide_street(&$format, $address, $context = array()) {
  if (isset($format['street_block'])) {
    $format['street_block']['#access'] = FALSE;
  }
}