You are here

public function ImageAPIOptimizeProcessorBinaryBase::getSummary in Image Optimize Binaries 8

File

src/ImageAPIOptimizeProcessorBinaryBase.php, line 164

Class

ImageAPIOptimizeProcessorBinaryBase
Base class for image optimizations that run local binaries.

Namespace

Drupal\imageapi_optimize_binaries

Code

public function getSummary() {
  $description = '';
  if (!$this
    ->getFullPathToBinary()) {
    $description .= $this
      ->t('<strong>Command not found</strong>');
  }
  $summary = array(
    '#markup' => $description,
  );
  $summary += parent::getSummary();
  return $summary;
}