function pm_icon_default in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 pm.module \pm_icon_default()
- 7 pm.module \pm_icon_default()
- 7.2 pm.module \pm_icon_default()
Provides a default icon to avoid missing icons.
File
- includes/
pm.icon.inc, line 170 - Icon handling by Drupal PM.
Code
function pm_icon_default($icon, $title) {
// For now, just return $title.
// A future extension could be more intelligent using $icon.
return $title;
}