Get the fid of the last inserted file.
1 call to ExifFunctionalTestCase::getLastFileId()
File
-
./
exif_functionaltests.php, line 77
Class
- ExifFunctionalTestCase
- Base class for functional tests for this module.
Code
public function getLastFileId() {
return (int) db_query('SELECT MAX(fid) FROM {file_managed}')->fetchField();
}