Browse Source

travis syntax cleanup

pull/742/head
Natkeeran 6 years ago
parent
commit
ad114b0713
  1. 2
      src/EventGenerator/EventGenerator.php
  2. 5
      src/Form/IslandoraSettingsForm.php

2
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"];

5
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.')
);
}
}
/**

Loading…
Cancel
Save