From 819fdb2ca010d1fdf079fa91ae99bf3eea231436 Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Thu, 26 Nov 2015 13:45:02 -0400 Subject: [PATCH] ISLANDORA-1362 Put config variable in admin form. --- includes/admin.form.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/admin.form.inc b/includes/admin.form.inc index 9f64cb6d..ce126fd0 100644 --- a/includes/admin.form.inc +++ b/includes/admin.form.inc @@ -86,6 +86,12 @@ function islandora_repository_admin(array $form, array &$form_state) { '#description' => t('Sparql is the preferred language for querying the resource index; however, some features in the implementation of Sparql in Mulgara may not work properly. If you are using the default triple store with Fedora this should be left on to maintain legacy behaviour.'), '#default_value' => variable_get('islandora_risearch_use_itql_when_necessary', TRUE), ), + 'islandora_require_obj_upload' => array( + '#type' => 'checkbox', + '#title' => t('Require a file upload during ingest'), + '#description' => t('During the ingest workflow, make the OBJ file upload step mandatory.'), + '#default_value' => variable_get('islandora_require_obj_upload', TRUE), + ), ), 'islandora_namespace' => array( '#type' => 'fieldset',