function translation_entity_enable

Implements hook_enable().

File

drupal/core/modules/translation_entity/translation_entity.install, line 66
Installation functions for Entity Translation module.

Code

function translation_entity_enable() {
  $t_args = array(
    '!language_url' => url('admin/config/regional/language'),
  );
  $message = t('You just added content translation capabilities to your site. To exploit them be sure to <a href="!language_url">enable at least two languages</a> and enable translation for <em>content types</em>, <em>taxonomy vocabularies</em>, <em>accounts</em> and any other element whose content you wish to translate.', $t_args);
  drupal_set_message($message, 'warning');
}