function textformatter_field_formatter_info_alter in Text list formatter 8.2
Implements hook_field_formatter_info_alter().
File
- ./
textformatter.module, line 35 - Provide a field formatter to render values as HTML or comma-separated lists.
Code
function textformatter_field_formatter_info_alter(&$info) {
$textformatter_info = ListFormatter::prepareFieldListInfo();
$info['list_formatter']['field_types'] = $textformatter_info['fields'];
$info['list_formatter']['settings']['contrib'] = $textformatter_info['settings'];
}