You are here

function addressfield_format_plugins in Address Field 7

Get the list of format plugins.

3 calls to addressfield_format_plugins()
addressfield_field_formatter_settings_summary in ./addressfield.module
Implements hook_field_formatter_settings_summary().
addressfield_format_plugins_options in ./addressfield.module
Get the list of format plugins in a format suitable for #options.
addressfield_generate in ./addressfield.module
Generate a format for a given address.

File

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

Code

function addressfield_format_plugins() {
  ctools_include('plugins');
  $plugins = ctools_get_plugins('addressfield', 'format');
  uasort($plugins, 'ctools_plugin_sort');
  return $plugins;
}