You are here

function editablefields_field_formatter_info in Editable Fields 6.3

Same name and namespace in other branches
  1. 5.3 editablefields.module \editablefields_field_formatter_info()
  2. 5 editablefields.module \editablefields_field_formatter_info()
  3. 5.2 editablefields.module \editablefields_field_formatter_info()
  4. 6 editablefields.module \editablefields_field_formatter_info()
  5. 6.2 editablefields.module \editablefields_field_formatter_info()
  6. 7 editablefields.module \editablefields_field_formatter_info()

Implementation of hook_field_formatter_info().

1 call to editablefields_field_formatter_info()
editablefields_form_alter in ./editablefields.module
Implementation of hook_form_alter().

File

./editablefields.module, line 156
Editable fields module.

Code

function editablefields_field_formatter_info() {
  $items = array();
  $plugins = editablefields_get_editables();
  foreach ($plugins as $plugin_name => $plugin) {
    if (!empty($plugin['formatter_info'])) {
      $items = array_merge($items, $plugin['formatter_info']);
    }
  }
  return $items;
}