You are here

function pm_icon_add in Drupal PM (Project Management) 7.2

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

Provides a Project Management add icon.

2 calls to pm_icon_add()
pm_icon_add_node in ./pm.module
Provides an add icon for Project Management nodes.
theme_pm_dashboard_link in ./pm.theme.inc
Provides HTML for Project Management links.

File

./pm.module, line 453
Main module file for the Project Management module.

Code

function pm_icon_add($path, $params = array()) {
  $attributes = array(
    'class' => array(
      'popups-form',
    ),
  );
  return pm_icon_l('application_add', $path, t('Add'), $params, $attributes);
}