function mailchimp_i18n_entity_property_info_alter in Mailchimp 7.5
Same name and namespace in other branches
- 7.4 modules/mailchimp_i18n/mailchimp_i18n.module \mailchimp_i18n_entity_property_info_alter()
Implements hook_entity_property_info_alter().
File
- modules/
mailchimp_i18n/ mailchimp_i18n.module, line 21 - Mailchimp i18n integration module via entity API i18n support.
Code
function mailchimp_i18n_entity_property_info_alter(&$info) {
// Mark some properties as translatable, but also denote that translation
// works with i18n_string.
foreach (array(
'title',
) as $name) {
$info['mailchimp_signup']['properties'][$name]['translatable'] = TRUE;
$info['mailchimp_signup']['properties'][$name]['i18n string'] = TRUE;
}
}