You are here

private static function SimpleExifToolFacade::getExecutable in Exif 8.2

Same name and namespace in other branches
  1. 8 src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::getExecutable()
  2. 7 SimpleExiftoolFacade.php \Drupal\exif\SimpleExifToolFacade::getExecutable()

Return the 'exiftool' location stored in exif settings.

Return value

string path to 'exiftool'.

2 calls to SimpleExifToolFacade::getExecutable()
SimpleExifToolFacade::checkConfiguration in src/SimpleExifToolFacade.php
Check the exiftool is available.
SimpleExifToolFacade::runTool in src/SimpleExifToolFacade.php
Handle how to call exiftool.

File

src/SimpleExifToolFacade.php, line 52

Class

SimpleExifToolFacade
Class SimpleExifToolFacade.

Namespace

Drupal\exif

Code

private static function getExecutable() {
  $config = Drupal::configFactory()
    ->get('exif.settings');
  return $config
    ->get('exiftool_location');
}