function simplenews_statistics_views_data_alter in Simplenews Statistics 7
Same name and namespace in other branches
- 7.2 includes/views/simplenews_statistics.views.inc \simplenews_statistics_views_data_alter()
Implements hook_views_data_alter().
File
- includes/
views/ simplenews_statistics.views.inc, line 446 - Simplenews Statistics views integration file.
Code
function simplenews_statistics_views_data_alter(&$data) {
// Modify the title and description to more accurately represent the data
// stored in this field. @todo: Submit a patch to simplenews for this.
$data['simplenews_newsletter']['sent_subscriber_count']['title'] = t('Sent count');
$data['simplenews_newsletter']['sent_subscriber_count']['help'] = t('The number of newsletter copies that have been sent to subscribers.');
}