function mailchimp_signup_entity_info_label in Mailchimp 7.5
Same name and namespace in other branches
- 7.3 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_entity_info_label()
- 7.4 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_entity_info_label()
Entity label callback.
1 string reference to 'mailchimp_signup_entity_info_label'
- mailchimp_signup_entity_info in modules/
mailchimp_signup/ mailchimp_signup.module - Implements hook_entity_info().
File
- modules/
mailchimp_signup/ mailchimp_signup.module, line 251 - Mailchimp Signup module. Allows creation of signup forms integrated with Mailchimp.
Code
function mailchimp_signup_entity_info_label($entity, $entity_type) {
return empty($entity) ? t('New MailChimp Signup') : $entity
->getTranslation('title');
}