You are here

function pm_icon_delete_node in Drupal PM (Project Management) 7.2

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