You are here

function languagefield_field_formatter_info_alter in Custom Language field 8

Implements hook_field_formatter_info_alter().

The module reuses the formatters defined in list.module.

File

./languagefield.module, line 25
Hook implementations for Languagefield module.

Code

function languagefield_field_formatter_info_alter(array &$info) {
  $info['list_key']['field_types'][] = 'language_field';
  $info['list_default']['field_types'][] = 'language_field';
}