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