function upload_taxonomy_service_info in Taxonomy import/export via XML 7
hook_taxonomy_service_info()
File
- services/
upload.taxonomy_service.inc, line 12 - declare how to import a taxonomy from file upload.
Code
function upload_taxonomy_service_info() {
$services = array();
$services['file_upload'] = array(
'provider' => 'Your Desktop',
'name' => 'Direct File Upload',
'id' => 'file_upload',
'description' => '
Upload a file in one of the supported formats.
',
// Define the name of the form function that returns service-specific UI
'import_form_callback' => 'upload_taxonomy_service_form',
);
return $services;
}