From 6ae0cb035dc2ee49c56922cbd29358e8b2c98434 Mon Sep 17 00:00:00 2001 From: Jason Hildebrand Date: Mon, 24 Oct 2022 12:38:44 -0500 Subject: [PATCH] Removing extra whitespace. --- .../src/Plugin/Action/GenerateImageDerivative.php | 2 -- .../src/Plugin/Action/GenerateImageDerivativeFile.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php b/modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php index 8e49617ed..dec556591 100644 --- a/modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php +++ b/modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php @@ -49,8 +49,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta ] ]; $form = $this->utils->array_insert_after($form, 'mimetype', $new); - - return $form; } diff --git a/modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php b/modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php index dd7aa3734..a18f076e3 100644 --- a/modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php +++ b/modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php @@ -43,7 +43,6 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta $form['args']['#title'] = $this->t('Additional output arguments'); $form['args']['#description'] = $this->t('Additional output options for ImageMagick convert (e.g. -resize 50% -unsharp 0x.5).
See documentation for available options.'); - $new = [ 'inputargs' => [ '#type' => 'textfield', @@ -54,6 +53,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta ] ]; $form = $this->utils->array_insert_after($form, 'mimetype', $new); + return $form; }