You are here

function lookup_taxonomy_service_info in Taxonomy import/export via XML 7

hook_taxonomy_service_info()

File

services/lookup.taxonomy_service.inc, line 13
declare how to import a taxonomy from file upload.

Code

function lookup_taxonomy_service_info() {
  $services = array();
  $services['lookup'] = array(
    'provider' => 'Remote Lookup',
    'name' => 'Simple remote lookup from known online services',
    'id' => 'lookup',
    'description' => '
      Choose from a set of simple known online resources.
    ',
    // Define the name of the form function that returns service-specific UI
    'import_form_callback' => 'lookup_taxonomy_service_form',
  );
  return $services;
}