You are here

function pm_icon_default in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pm.module \pm_icon_default()
  2. 7.3 includes/pm.icon.inc \pm_icon_default()
  3. 7 pm.module \pm_icon_default()

Provides a default icon to avoid missing icons.

1 call to pm_icon_default()
pm_icon in ./pm.module
Provides a Project Management icon.

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;
}