function heartbeat_plugins_field_extra_fields in Heartbeat 7
Implements hook_field_extra_fields().
File
- modules/
heartbeat_plugins/ heartbeat_plugins.module, line 212
Code
function heartbeat_plugins_field_extra_fields() {
$return = array();
$info = entity_get_info('heartbeat_activity');
foreach (array_keys($info['bundles']) as $bundle) {
$return['heartbeat_activity'][$bundle] = array(
'display' => array(
'attachments' => array(
'label' => 'Attachments',
'description' => t('Heartbeat activity attachments'),
'weight' => 4,
),
),
);
}
return $return;
}