You are here

function revisioning_handler_field_node_state::construct in Revisioning 6.3

Same name and namespace in other branches
  1. 8 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()
  2. 6.4 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()
  3. 7 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()

File

views/revisioning_handler_field_node_state.inc, line 9
Handler for the 'Node: state' field.

Class

revisioning_handler_field_node_state
@file Handler for the 'Node: state' field.

Code

function construct() {
  parent::construct();

  // Request node fields required to calculate the 'state' when rendering
  $this->additional_fields['nid'] = 'nid';
  $this->additional_fields['vid'] = 'vid';
  $this->additional_fields['published'] = array(
    'field' => 'status',
  );
}