You are here

function pm_icon_delete_node in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pm.module \pm_icon_delete_node()
  2. 7 pm.module \pm_icon_delete_node()
  3. 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

includes/pm.icon.inc, line 25
Icon handling by Drupal PM.

Code

function pm_icon_delete_node($node, $params = array()) {
  return pm_icon_delete('node/' . $node->nid . '/delete', $params);
}