function textformatter_field_list_info in Text list formatter 7
Wrapper function for invoking hook_textformatter_field_list_info.
Statically caches $info as this could get called multiple times for different fields using this formatter in a request.
2 calls to textformatter_field_list_info()
- textformatter_field_formatter_view in ./
textformatter.module - Implements hook_field_formatter_view().
- _textformatter_field_info in ./
textformatter.module - Returns an array of info to add to hook_field_formatter_info().
File
- ./
textformatter.module, line 361 - Provide a field formatter to render values as HTML or comma-separated lists.
Code
function textformatter_field_list_info() {
$info =& drupal_static(__FUNCTION__);
if (empty($info)) {
$info = module_invoke_all('textformatter_field_info');
drupal_alter('textformatter_field_info', $info);
}
return $info;
}