Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add COI integration to settings form. #57

Merged
merged 3 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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