You are here

function view_unpublished_views_data_alter in view_unpublished 6

Same name and namespace in other branches
  1. 7 view_unpublished.module \view_unpublished_views_data_alter()

Implementation of hook_views_data_alter()

File

./view_unpublished.module, line 65
Allow users to view all unpublished nodes, or unpublished nodes of a specific type.

Code

function view_unpublished_views_data_alter(&$data) {

  // published status + extra handler is taken over by our handler
  $data['node']['status_extra']['filter']['handler'] = 'view_unpublished_handler_filter_node_status';
}