function revisioning_handler_field_node_state::construct in Revisioning 6.4
Same name and namespace in other branches
- 8 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()
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',
);
}