You are here

function profile2_i18n_entity_info_alter in Profile 2 7

Same name and namespace in other branches
  1. 7.2 contrib/profile2_i18n.module \profile2_i18n_entity_info_alter()

Implements hook_entity_info_alter().

File

contrib/profile2_i18n.module, line 13
Profile2 i18n integration module via entity API i18n support.

Code

function profile2_i18n_entity_info_alter(&$info) {

  // Enable i18n support via the entity API.
  $info['profile2_type']['i18n controller class'] = 'EntityDefaultI18nStringController';
}