Same name and namespace in other branches
- 8.x-1.x src/ExifFactory.php \Drupal\exif\ExifFactory::getExifInterface() 1 comment
- 8.x-2.x src/ExifFactory.php \Drupal\exif\ExifFactory::getExifInterface() 1 comment
1 call to ExifFactory::getExifInterface()
- _exif_get_class in ./
exif.module - Helper function to get the exif class.
File
-
./
ExifFactory.php, line 26
Class
Namespace
Drupal\exifCode
public static function getExifInterface() {
$extractionSolution = variable_get('exif_extraction_solution');
$useExifToolSimple = $extractionSolution == "simple_exiftool";
if (isset($useExifToolSimple) && $useExifToolSimple && SimpleExifToolFacade::checkConfiguration()) {
return SimpleExifToolFacade::getInstance();
}
else {
// Default case for now (same behavior as previous versions).
return ExifPHPExtension::getInstance();
}
}