function pm_icon_add in Drupal PM (Project Management) 7
Same name and namespace in other branches
- 8 pm.module \pm_icon_add()
- 7.3 includes/pm.icon.inc \pm_icon_add()
- 7.2 pm.module \pm_icon_add()
Provides a Project Management add icon.
4 calls to pm_icon_add()
- pm_attribute_list in ./
pm.admin.inc - Provides a list of attributes.
- 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.
- theme_pm_link in ./
pm.theme.inc - Provides HTML for a Project Management link.
File
- ./
pm.module, line 712 - 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);
}