1 locale.module locale_entity_info_alter(&$entity_info)

Implements hook_entity_info_alter().

File

core/modules/locale/locale.module, line 327
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_entity_info_alter(&$entity_info) {
  $entity_info['node']['translation']['locale'] = TRUE;
}