function addressfield_field_formatter_info in Address Field 7
Implements hook_field_formatter_info().
File
- ./
addressfield.module, line 715 - Defines a field for attaching country-specific addresses to entities.
Code
function addressfield_field_formatter_info() {
return array(
'addressfield_default' => array(
'label' => t('Default'),
'field types' => array(
'addressfield',
),
'settings' => array(
'use_widget_handlers' => 1,
'format_handlers' => array(
'address',
),
),
),
);
}