You are here

function url_taxonomy_service_info in Taxonomy import/export via XML 7

hook_taxonomy_service_info()

File

services/url.taxonomy_service.inc, line 12
declare how to import a taxonomy from remote url.

Code

function url_taxonomy_service_info() {
  $services = array();
  $services['url'] = array(
    'provider' => 'Remote URL',
    'name' => 'The Web',
    'id' => 'url',
    'description' => '
      Download a file in one of the supported formats.
    ',
    // Define the name of the form function that returns service-specific UI
    'import_form_callback' => 'url_taxonomy_service_form',
  );
  return $services;
}