function mailchimp_campaign_view in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_view()
- 7.2 modules/mailchimp_campaign/mailchimp_campaign.entity.inc \mailchimp_campaign_view()
- 7.3 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.module, line 1061 - Module file for mailchimp_campaign.
Code
function mailchimp_campaign_view($campaign) {
return $campaign
->view();
}