You are here

function i18n_sync_node_options in Internationalization 7

Returns list of available fields for given content type.

Fields can also be changed using hook_i18n_sync_fields_alter($fields, $type)

Parameters

$type: Node type.

3 calls to i18n_sync_node_options()
i18n_sync_form_node_type_form_alter in i18n_sync/i18n_sync.module
Implements hook_form_FORM_ID_alter().
i18n_sync_node_prepare in i18n_sync/i18n_sync.module
Implements hook_node_prepare().
i18n_sync_node_translation in i18n_sync/i18n_sync.node.inc
Synchronizes fields for node translation.

File

i18n_sync/i18n_sync.module, line 246
Internationalization (i18n) package. Synchronization of translations

Code

function i18n_sync_node_options($type) {
  return i18n_sync_options('node', $type);
}