You are here

function publishcontent_views_handler_node_publish_destination in Publish Content 5

Same name and namespace in other branches
  1. 5.2 publishcontent.module \publishcontent_views_handler_node_publish_destination()

display a link to edit a node with a destination return

File

./publishcontent.module, line 121
Add button to publish or unpublish a node, with access control based on the node type

Code

function publishcontent_views_handler_node_publish_destination($fieldinfo, $fielddata, $value, $data) {
  return publishcontent_views_handler_node_publish($fieldinfo, $fielddata, $value, $data, drupal_get_destination());
}