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

Check the exiftool is available.

Return value

bool TRUE if available.

1 call to SimpleExifToolFacade::checkConfiguration()
ExifFactory::getExifInterface in src/ExifFactory.php
Return configured exif parser.

File

src/SimpleExifToolFacade.php, line 41

Class

SimpleExifToolFacade
Class SimpleExifToolFacade.

Namespace

Drupal\exif

Code

public static function checkConfiguration() {
    $exiftoolLocation = self::getExecutable();
    return isset($exiftoolLocation) && is_executable($exiftoolLocation);
}