Browse Source

Removing extra whitespace.

pull/904/head
Jason Hildebrand 2 years ago
parent
commit
6ae0cb035d
  1. 2
      modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php
  2. 2
      modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php

2
modules/islandora_image/src/Plugin/Action/GenerateImageDerivative.php

@ -49,8 +49,6 @@ class GenerateImageDerivative extends AbstractGenerateDerivative {
] ]
]; ];
$form = $this->utils->array_insert_after($form, 'mimetype', $new); $form = $this->utils->array_insert_after($form, 'mimetype', $new);
return $form; return $form;
} }

2
modules/islandora_image/src/Plugin/Action/GenerateImageDerivativeFile.php

@ -43,7 +43,6 @@ class GenerateImageDerivativeFile extends AbstractGenerateDerivativeMediaFile {
$form['args']['#title'] = $this->t('Additional output arguments'); $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).<br>See <a target="_blank" href="https://imagemagick.org/script/convert.php">documentation</a> for available options.'); $form['args']['#description'] = $this->t('Additional output options for ImageMagick convert (e.g. -resize 50% -unsharp 0x.5).<br>See <a target="_blank" href="https://imagemagick.org/script/convert.php">documentation</a> for available options.');
$new = [ $new = [
'inputargs' => [ 'inputargs' => [
'#type' => 'textfield', '#type' => 'textfield',
@ -54,6 +53,7 @@ class GenerateImageDerivativeFile extends AbstractGenerateDerivativeMediaFile {
] ]
]; ];
$form = $this->utils->array_insert_after($form, 'mimetype', $new); $form = $this->utils->array_insert_after($form, 'mimetype', $new);
return $form; return $form;
} }

Loading…
Cancel
Save