Browse Source

Fix PHPCS errors.

MNPALS-2.x
Alexander O'Neill 2 years ago committed by Rosie Le Faive
parent
commit
61c6e737c1
  1. 3
      modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivative.php

3
modules/islandora_text_extraction/src/Plugin/Action/GenerateOCRDerivative.php

@ -37,10 +37,9 @@ class GenerateOCRDerivative extends AbstractGenerateDerivative {
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
$form = parent::buildConfigurationForm($form, $form_state);
$form['args']['#description'] = $this->t("Arguments to send to Tesseract. To generate hOCR, use:<br /><code>-c tessedit_create_hocr=1 -c hocr_font_info=0</code>");
return $form;
}

Loading…
Cancel
Save