function countries_i18n_entity_info_alter in Countries 8
Same name and namespace in other branches
- 7.2 modules/countries_i18n/countries_i18n.module \countries_i18n_entity_info_alter()
Implements hook_entity_info_alter(). Override the label callback.
File
- modules/
countries_i18n/ countries_i18n.module, line 12 - Provides translation for countries module.
Code
function countries_i18n_entity_info_alter(&$info) {
$info['country']['label callback'] = 'countries_i18n_country_entity_label';
}