You are here

function addressfield_format_plugins_options in Address Field 7

Get the list of format plugins in a format suitable for #options.

2 calls to addressfield_format_plugins_options()
addressfield_field_formatter_settings_form in ./addressfield.module
Implements hook_field_formatter_settings_form().
addressfield_field_widget_settings_form in ./addressfield.module
Implements hook_field_widget_settings_form()

File

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

Code

function addressfield_format_plugins_options() {
  $options = array();
  foreach (addressfield_format_plugins() as $widget => $info) {
    $options[$widget] = check_plain($info['title']);
  }
  return $options;
}