You are here

function sonz_taxonomy_service_form in Taxonomy import/export via XML 7

A sub-form that provides UI additions to the taxonomy import form

1 string reference to 'sonz_taxonomy_service_form'
sonz_taxonomy_service_info in services/sonz.taxonomy_service.inc

File

services/sonz.taxonomy_service.inc, line 45
declare how to load and import a SONZ (Services of New Zealand) Taxonomy

Code

function sonz_taxonomy_service_form($form_values, $service_info) {
  $form = array();
  $form['terms'] = array(
    '#type' => 'markup',
    '#markup' => t('
      To use this resource, you only have to agree to the terms and conditions.
    '),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Import from ' . $service_info['name']),
    '#submit' => array(
      'sonz_taxonomy_service_form_submit',
    ),
  );
  return $form;
}