You are here

function pm_icon_add in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 includes/pm.icon.inc \pm_icon_add()
  2. 7 pm.module \pm_icon_add()
  3. 7.2 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 371
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);
}