Mercurial > hg > MPIWG-drupal-modules
view sites/all/modules/custom/digitalobjects/digitalobjects.admin.inc @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
line wrap: on
line source
<?php /** * Form builder for general settings used as a menu callback. * * @param array $form * @param array $form_state * * @return array Output of the system_settings_form() */ function digitalobjects_settings(array $form, array &$form_state) { $form['digitalobjects_bibdata_path'] = array( '#type' => 'textfield', '#title' => t('bibdataprovider URL'), '#default_value' => variable_get('digitalobjects_bibdata_path',"http://localhost:18080/metadata"), '#maxlength' => 255, '#description' => t('URL to the bibdataprovider (no "/" at the end!)'), ); $form['digitalobjects_docuviewer_path'] = array( '#type' => 'textfield', '#title' => t('docuviewer URL'), '#default_value' => variable_get('digitalobjects_docuviewer_path',"http://localhost:18080/ECHOdocuView"), '#maxlength' => 255, '#description' => t('URL to the docuviewer (no "/" at the end!)'), ); return system_settings_form($form); }