public function revisioning_handler_field_node_state::construct in Revisioning 8
Same name and namespace in other branches
- 6.4 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()
- 6.3 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()
- 7 views/revisioning_handler_field_node_state.inc \revisioning_handler_field_node_state::construct()
Call constructor.
File
- views/revisioning_handler_field_node_state.inc, line 13 
- Handler for the 'Node: state' field.
Class
- revisioning_handler_field_node_state
- @file Handler for the 'Node: state' field.
Code
public 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',
  );
}