Skip to content

Commit

Permalink
Add COI integration to settings form. (#57)
Browse files Browse the repository at this point in the history
* Add COI integration to settings form.

* Tabs to spaces.

* Composer suggest COI module.
  • Loading branch information
rosiel authored Nov 15, 2023
1 parent 1100652 commit ea235a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"conflict": {
"drupal/core": "<9.1"
},
"suggest": {
"drupal/coi": "Some configuration fields work with Config Override Inspector."
},
"authors": [
{
"name": "Islandora Foundation",
Expand Down
3 changes: 3 additions & 0 deletions src/Form/OpenSeadragonSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ea235a6

Please sign in to comment.