|
|
@ -92,8 +92,10 @@ class EventGenerator implements EventGeneratorInterface { |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
$flysystem_config = Settings::get('flysystem'); |
|
|
|
$flysystem_config = Settings::get('flysystem'); |
|
|
|
$fedora_url = $flysystem_config['fedora']['config']['root']; |
|
|
|
if (array_key_exists('fedora', $flysystem_config)) { |
|
|
|
$event["target"] = $fedora_url; |
|
|
|
$fedora_url = $flysystem_config['fedora']['config']['root']; |
|
|
|
|
|
|
|
$event["target"] = $fedora_url; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$entity_type = $entity->getEntityTypeId(); |
|
|
|
$entity_type = $entity->getEntityTypeId(); |
|
|
|
if ($data["event"] == "Generate Derivative") { |
|
|
|
if ($data["event"] == "Generate Derivative") { |
|
|
|