function mailchimp_campaign_page_title in Mailchimp 7.3
Same name and namespace in other branches
- 7.5 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_page_title()
- 7.2 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_page_title()
- 7.4 modules/mailchimp_campaign/mailchimp_campaign.module \mailchimp_campaign_page_title()
Title callback: Generate a title for a registration entity.
Callback for hook_menu() within system_themes_page().
Parameters
MailChimpCampaign $campaign: The MailChimp campaign instance.
Return value
string The entity title.
1 string reference to 'mailchimp_campaign_page_title'
- mailchimp_campaign_menu in modules/
mailchimp_campaign/ mailchimp_campaign.module - Implements hook_menu().
File
- modules/
mailchimp_campaign/ mailchimp_campaign.module, line 189 - Module file for mailchimp_campaign.
Code
function mailchimp_campaign_page_title(MailChimpCampaign $campaign) {
return $campaign
->label();
}