1 call to ExifFactory::getExifInterface()
- _exif_get_class in ./exif.module
- Helper function to get the exif class.
File
-
./ExifFactory.php, line 26
Class
- ExifFactory
Namespace
Drupal\exif
Code
public static function getExifInterface() {
$extractionSolution = variable_get('exif_extraction_solution');
$useExifToolSimple = $extractionSolution == "simple_exiftool";
if (isset($useExifToolSimple) && $useExifToolSimple && SimpleExifToolFacade::checkConfiguration()) {
return SimpleExifToolFacade::getInstance();
}
else {
return ExifPHPExtension::getInstance();
}
}