public function ImageAPIOptimizeProcessorBinaryBase::getFullPathToBinary in Image Optimize Binaries 8
10 calls to ImageAPIOptimizeProcessorBinaryBase::getFullPathToBinary()
- AdvDef::applyToImage in src/
Plugin/ ImageAPIOptimizeProcessor/ AdvDef.php - AdvPng::applyToImage in src/
Plugin/ ImageAPIOptimizeProcessor/ AdvPng.php - ImageAPIOptimizeProcessorBinaryBase::getSummary in src/
ImageAPIOptimizeProcessorBinaryBase.php - JfifRemove::applyToImage in src/
Plugin/ ImageAPIOptimizeProcessor/ JfifRemove.php - JpegOptim::applyToImage in src/
Plugin/ ImageAPIOptimizeProcessor/ JpegOptim.php
File
- src/
ImageAPIOptimizeProcessorBinaryBase.php, line 155
Class
- ImageAPIOptimizeProcessorBinaryBase
- Base class for image optimizations that run local binaries.
Namespace
Drupal\imageapi_optimize_binariesCode
public function getFullPathToBinary() {
if ($this->configuration['manual_executable_path']) {
return $this->configuration['manual_executable_path'];
}
elseif ($this
->findExecutablePath()) {
return $this
->findExecutablePath();
}
}