You are here

function pm_icon_map in Drupal PM (Project Management) 7.3

Get the entire mapping of icon list that Drupal PM supports.

2 calls to pm_icon_map()
pm_helper_get_fa_icon in includes/pm.icon.inc
Helper to attach fontawesome icons.
_pm_icon_list_as_table in includes/pm.icon.inc
Helper function to generate a list of icons exposed by Drupal PM.

File

includes/pm.icon.inc, line 197
Icon handling by Drupal PM.

Code

function pm_icon_map() {
  return array(
    'pmconfiguration' => 'fa-gear',
    'pmexpenses' => 'fa-money',
    'pmnotes' => 'fa-file-o',
    'pmtimetrackings' => 'fa-clock-o',
    'pmtickets' => 'fa-ticket',
    'pmtasks' => 'fa-tasks',
    'pmprojects' => 'fa-cubes',
    'pmteams' => 'fa-users',
    'pmorganizations' => 'fa-institution',
    'pmissues' => 'fa-cube',
    'application_add' => 'fa-plus',
    'application_delete' => 'fa-remove pm-status-danger-onfocus',
    'application_edit' => 'fa-edit',
    // Issue type.
    'bug' => 'fa-bug',
    'task' => 'fa-tasks',
    'feature_request' => 'fa-ticket',
    'support' => 'fa-phone',
    // Project type.
    'development' => 'fa-flask',
    // Progress.
    'in_progress' => 'fa-play pm-status-info',
    'completed' => 'fa-check pm-status-success',
    'on_hold' => 'fa-pause pm-status-warning',
    'inserted' => 'fa-square pm-status-normal',
    // Priority.
    '1_low' => 'fa-circle pm-status-info',
    '2_normal' => 'fa-circle pm-status-success',
    '3_high' => 'fa-circle pm-status-warning',
    '4_urgent' => 'fa-circle pm-status-danger',
  );
}