Same name in other branches
  1. 7.x-1.x SimpleExiftoolFacade.php \Drupal\exif\SimpleExifToolFacade::getExecutable()
  2. 8.x-1.x src/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 dans src/SimpleExifToolFacade.php
Check the exiftool is available.
SimpleExifToolFacade::runTool dans src/SimpleExifToolFacade.php
Handle how to call exiftool.

Fichier

src/SimpleExifToolFacade.php, line 54

Classe

SimpleExifToolFacade
Class SimpleExifToolFacade.

Namespace

Drupal\exif

Code

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