function getid3_file_insert in getID3() 7
Implements hook_file_insert().
1 call to getid3_file_insert()
- getid3_file_update in ./
getid3.module - Implements hook_file_update().
File
- ./
getid3.module, line 199
Code
function getid3_file_insert($file) {
if (!empty($file->fid)) {
getid3_analyze_file($file);
$record = array_merge($file->getid3, array(
'fid' => $file->fid,
));
drupal_write_record('getid3_meta', $record);
}
}