You are here

function mailchimp_signup_entity_info_label in Mailchimp 7.3

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_signup/mailchimp_signup.module \mailchimp_signup_entity_info_label()
  2. 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 213
Mailchimp Signup module. Allows creation of signup forms integrated with Mailchimp.

Code

function mailchimp_signup_entity_info_label($entity, $entity_type) {
  return empty($entity) ? 'New MailChimp Signup' : $entity->title;
}