function pm_icon_delete_node in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 includes/pm.icon.inc \pm_icon_delete_node()
- 7 pm.module \pm_icon_delete_node()
- 7.2 pm.module \pm_icon_delete_node()
Provides a delete icon for Project Management nodes.
1 call to pm_icon_delete_node()
- pm_handler_field_operation::render in includes/
views/ pm_handler_field_operation.inc - Renders field to show icon.
File
- ./
pm.module, line 364 - Main module file for the Project Management module.
Code
function pm_icon_delete_node($node, $params = array()) {
return pm_icon_delete('node/' . $node->nid . '/delete', $params);
}