You are here

public static function SimpleExifToolFacade::checkConfiguration in Exif 8.2

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

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);
}