You are here

function entity_test_i18n_entity_info_alter in Entity API 7

Implements hook_entity_info_alter().

File

tests/entity_test_i18n.module, line 13
Entity-test i18n integration module via entity API i18n support.

Code

function entity_test_i18n_entity_info_alter(&$info) {

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