Skip to content

Commit

Permalink
Update FitsConfigForm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehuynh205 authored Sep 10, 2024
1 parent d255cde commit 014b11d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Form/FitsConfigForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 014b11d

Please sign in to comment.