You are here

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

... See full list

File

src/ImageAPIOptimizeProcessorBinaryBase.php, line 155

Class

ImageAPIOptimizeProcessorBinaryBase
Base class for image optimizations that run local binaries.

Namespace

Drupal\imageapi_optimize_binaries

Code

public function getFullPathToBinary() {
  if ($this->configuration['manual_executable_path']) {
    return $this->configuration['manual_executable_path'];
  }
  elseif ($this
    ->findExecutablePath()) {
    return $this
      ->findExecutablePath();
  }
}