diff --git a/composer.json b/composer.json index 8d02970..66819d1 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,9 @@ "conflict": { "drupal/core": "<9.1" }, + "suggest": { + "drupal/coi": "Some configuration fields work with Config Override Inspector." + }, "authors": [ { "name": "Islandora Foundation", diff --git a/src/Form/OpenSeadragonSettingsForm.php b/src/Form/OpenSeadragonSettingsForm.php index 0641d5a..88bb4b0 100644 --- a/src/Form/OpenSeadragonSettingsForm.php +++ b/src/Form/OpenSeadragonSettingsForm.php @@ -96,6 +96,9 @@ public function buildForm(array $form, FormStateInterface $form_state) { '#default_value' => $this->seadragonConfig->getIiifAddress(), '#required' => TRUE, '#description' => t('Please enter the image server location without trailing slash. eg: http://www.example.org/iiif/2.'), + '#config' => [ + 'key' => 'openseadragon.settings:iiif_server', + ], ], 'manifest_view' => [ '#type' => 'select',