You are here

public function ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm in Image Optimize Binaries 8

6 calls to ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm()
AdvDef::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/AdvDef.php
AdvPng::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/AdvPng.php
JpegOptim::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/JpegOptim.php
JpegTran::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/JpegTran.php
OptiPng::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/OptiPng.php

... See full list

6 methods override ImageAPIOptimizeProcessorBinaryBase::submitConfigurationForm()
AdvDef::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/AdvDef.php
AdvPng::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/AdvPng.php
JpegOptim::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/JpegOptim.php
JpegTran::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/JpegTran.php
OptiPng::submitConfigurationForm in src/Plugin/ImageAPIOptimizeProcessor/OptiPng.php

... See full list

File

src/ImageAPIOptimizeProcessorBinaryBase.php, line 97

Class

ImageAPIOptimizeProcessorBinaryBase
Base class for image optimizations that run local binaries.

Namespace

Drupal\imageapi_optimize_binaries

Code

public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  parent::submitConfigurationForm($form, $form_state);
  $this->configuration['manual_executable_path'] = $form_state
    ->getValue('manual_executable_path');
}