From 014b11dc5df30d5b0251b3e318a3724d019e30c2 Mon Sep 17 00:00:00 2001 From: Kyle Huynh <7862086+kylehuynh205@users.noreply.github.com> Date: Tue, 10 Sep 2024 15:00:27 -0400 Subject: [PATCH] Update FitsConfigForm.php --- src/Form/FitsConfigForm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Form/FitsConfigForm.php b/src/Form/FitsConfigForm.php index b1d68d2..0642759 100644 --- a/src/Form/FitsConfigForm.php +++ b/src/Form/FitsConfigForm.php @@ -128,7 +128,8 @@ public function buildForm(array $form, FormStateInterface $form_state) { $form['container']['fits-services-config']['extact-fits-while-ingesting'] = [ '#type' => 'checkbox', '#title' => $this->t('Extracting Fits while a file is being uploaded'), - '#default_value' => ($config->get("fits-extract-ingesting") !== NULL) ? $config->get("fits-extract-ingesting") : 0, + "#access" => FALSE, + '#default_value' => ($config->get("fits-extract-ingesting") !== NULL) ? $config->get("fits-extract-ingesting") : 1, ]; // Select default fits fields.