function _i18nsync_cck_fields in Internationalization 6
Helper function to get list of cck fields
3 calls to _i18nsync_cck_fields()
- i18nsync_nodeapi in i18nsync/
i18nsync.module - Implementation of hook_nodeapi().
- i18nsync_node_available_fields in i18nsync/
i18nsync.module - Returns list of available fields for given content type.
- i18nsync_node_translation in i18nsync/
i18nsync.module - Synchronizes fields for node translation.
File
- i18nsync/
i18nsync.module, line 539 - Internationalization (i18n) package. Synchronization of translations
Code
function _i18nsync_cck_fields($type) {
if (($content = module_invoke('content', 'types', $type)) && !empty($content['fields'])) {
return $content['fields'];
}
}