function filefield_icon_url in FileField 6.2
Same name and namespace in other branches
- 5.2 filefield.module \filefield_icon_url()
- 6.3 filefield.module \filefield_icon_url()
Determine the most appropriate icon for the given file's mimetype.
Return value
The URL of the icon image file, or FALSE if no icon could be found.
File
- ./
filefield.module, line 147
Code
function filefield_icon_url($file) {
include_once drupal_get_path('module', 'filefield') . '/filefield.theme.inc';
return _filefield_icon_url($file);
}