function simplenews_field_formatter_info_alter in Simplenews 8.2
Same name and namespace in other branches
- 8 simplenews.module \simplenews_field_formatter_info_alter()
- 3.x simplenews.module \simplenews_field_formatter_info_alter()
Implements hook_field_formatter_info_alter().
File
- ./
simplenews.module, line 915 - Simplenews node handling, sent email, newsletter block and general hooks.
Code
function simplenews_field_formatter_info_alter(&$info) {
$info['entity_reference_label']['field_types'][] = 'simplenews_subscription';
$info['entity_reference_label']['field_types'][] = 'simplenews_issue';
}