function _filefield_icon_directory in FileField 6.3
Internal function to convert a file icon theme name to a directory.
1 call to _filefield_icon_directory()
File
- ./
filefield.theme.inc, line 98 - Theme functions used for normal file output.
Code
function _filefield_icon_directory($theme = NULL) {
static $sets;
if (!isset($sets)) {
$sets = module_invoke_all('filefield_icon_sets');
drupal_alter('filefield_icon_sets', $sets);
}
if (!isset($theme) || !isset($sets[$theme])) {
$theme = 'default';
}
return $sets[$theme];
}