function relation_add_field_formatter_info_alter in Relation add 7
Implements hook_field_formatter_info_alter().
File
- ./
relation_add.module, line 1205 - Relation Add module file.
Code
function relation_add_field_formatter_info_alter(&$info) {
$relation_dummy_formaters = array(
'relation_default',
'relation_otherendpoint',
'relation_natural',
);
foreach ($relation_dummy_formaters as $dummy_formater) {
if (isset($info[$dummy_formater])) {
$info[$dummy_formater]['field types'][] = 'relation_add';
}
}
}