function pm_icon_default in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 includes/pm.icon.inc \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
- ./
pm.module, line 517 - 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;
}