Same name in other branches
- 7.x-1.x SimpleExiftoolFacade.php \Drupal\exif\SimpleExifToolFacade::checkConfiguration()
- 8.x-1.x src/SimpleExifToolFacade.php \Drupal\exif\SimpleExifToolFacade::checkConfiguration()
Check the exiftool is available.
Return value
bool TRUE if available.
1 call to SimpleExifToolFacade::checkConfiguration()
- ExifFactory::getExifInterface dans src/
ExifFactory.php - Return configured exif parser.
Fichier
-
src/
SimpleExifToolFacade.php, line 43
Classe
- SimpleExifToolFacade
- Class SimpleExifToolFacade.
Namespace
Drupal\exifCode
public static function checkConfiguration() {
$exiftoolLocation = self::getExecutable();
return !empty($exiftoolLocation) && is_executable($exiftoolLocation);
}