array( 'title' => t('Book outline'), 'description' => t('Set the translated parent for each translation if possible.') ), ); } } /** * Alter information about synchronization options for entities/field * * @see hook_i18n_sync_options() */ function hook_i18n_sync_options_alter(&$fields, $entity_type, $bundle_name) { } /** * Perform aditional synchronization on entities * * @param $entity_type * @param $translation * Translated entity. * @param $translation_language * Translated entity language code. * @param $source * Source entity. * @param $source_language * Source entity language code. * @param $field_names * Array of field names to synchronize. */ function hook_i18n_sync_translation($entity_type, $translation, $translation_language, $source, $source_language, $field_names) { }