diff --git a/src/EventGenerator/EventGenerator.php b/src/EventGenerator/EventGenerator.php index 168c7805..2620664c 100644 --- a/src/EventGenerator/EventGenerator.php +++ b/src/EventGenerator/EventGenerator.php @@ -91,7 +91,7 @@ class EventGenerator implements EventGeneratorInterface { $flysystem_config = Settings::get('flysystem'); $fedora_url = $flysystem_config['fedora']['config']['root']; - $event["target"] = $fedora_url; + $event["target"] = $fedora_url; $entity_type = $entity->getEntityTypeId(); $event_type = $data["event"]; diff --git a/src/Form/IslandoraSettingsForm.php b/src/Form/IslandoraSettingsForm.php index 228168f4..b505a2a3 100644 --- a/src/Form/IslandoraSettingsForm.php +++ b/src/Form/IslandoraSettingsForm.php @@ -104,8 +104,8 @@ class IslandoraSettingsForm extends ConfigFormBase { '#type' => 'textfield', '#title' => $this->t('Fedora URL'), '#attributes' => array('readonly' => 'readonly'), - '#default_value' => $fedora_url, - ]; + '#default_value' => t($fedora_url), + ]; $selected_bundles = $config->get(self::GEMINI_PSEUDO); @@ -213,7 +213,6 @@ class IslandoraSettingsForm extends ConfigFormBase { $this->t('Must enter Gemini URL before selecting bundles to display a pseudo field on.') ); } - } /**