You are here

function addressfield_auto_creation in Address Field 7

Auto creation callback for an addressfield value array.

See also

addressfield_property_info_callback()

1 string reference to 'addressfield_auto_creation'
addressfield_property_info_callback in ./addressfield.module
Callback to alter the property info of address fields.

File

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

Code

function addressfield_auto_creation($property_name, $context) {
  return addressfield_default_values($context['field'], $context['instance']);
}