You are here

function addressfield_field_map_filter in Address Field 7

Returns TRUE if a field map array value represents an addressfield.

Provided for use as a callback by array_filter().

1 string reference to 'addressfield_field_map_filter'
addressfield_get_address_fields in ./addressfield.module
Returns a list of address fields optionally filtered by entity type.

File

./addressfield.module, line 91
Defines a field for attaching country-specific addresses to entities.

Code

function addressfield_field_map_filter($field) {
  return !empty($field['type']) && $field['type'] == 'addressfield';
}