From 843fda996a4fb475d6018bdb1df95572080f8bd4 Mon Sep 17 00:00:00 2001 From: ezoller Date: Tue, 15 Dec 2020 22:22:49 +0000 Subject: [PATCH] already the system.file config --- .../src/Plugin/Action/GenerateOCRDerivativeFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivativeFile.php b/modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivativeFile.php index 1e6bcbc0..3b5e8498 100644 --- a/modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivativeFile.php +++ b/modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivativeFile.php @@ -27,7 +27,7 @@ class GenerateOCRDerivativeFile extends AbstractGenerateDerivativeMediaFile { $config['mimetype'] = 'application/xml'; $config['queue'] = 'islandora-connector-ocr'; $config['destination_media_type'] = 'file'; - $config['scheme'] = $this->config('system.file')->get('default_scheme'); + $config['scheme'] = $this->config->get('default_scheme'); $config['destination_text_field_name'] = ''; return $config; }