function mailchimp_campaign_view in Mailchimp 7.2
Same name and namespace in other branches
- 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_view()
- 7.3 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_view()
- 7.4 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_view()
Display a campaign.
Parameters
object $campaign: A fully loaded campaign object.
Return value
array Renderable elements.
1 string reference to 'mailchimp_campaign_view'
- mailchimp_campaign_menu in modules/
mailchimp_campaign/ mailchimp_campaign.module - Implements hook_menu().
File
- modules/
mailchimp_campaign/ mailchimp_campaign.entity.inc, line 93 - Entity API hooks for mailchimp_campaign module.
Code
function mailchimp_campaign_view($campaign) {
return $campaign
->view();
}