You are here

function pm_icon_edit_node in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 includes/pm.icon.inc \pm_icon_edit_node()
  2. 7 pm.module \pm_icon_edit_node()
  3. 7.2 pm.module \pm_icon_edit_node()

Provides an edit icon for Project Management nodes.

1 call to pm_icon_edit_node()
pm_handler_field_operation::render in includes/views/pm_handler_field_operation.inc
Renders field to show icon.

File

./pm.module, line 357
Main module file for the Project Management module.

Code

function pm_icon_edit_node($node, $params = array()) {
  return pm_icon_edit('node/' . $node->nid . '/edit', $params);
}