function revisioning_handler_field_revision_state::construct in Revisioning 6.3
Same name and namespace in other branches
- 8 views/revisioning_handler_field_revision_state.inc \revisioning_handler_field_revision_state::construct()
- 6.4 views/revisioning_handler_field_revision_state.inc \revisioning_handler_field_revision_state::construct()
- 7 views/revisioning_handler_field_revision_state.inc \revisioning_handler_field_revision_state::construct()
File
- views/
revisioning_handler_field_revision_state.inc, line 9 - Handler for the 'Node revision: state' field.
Class
- revisioning_handler_field_revision_state
- @file Handler for the 'Node revision: state' field.
Code
function construct() {
parent::construct();
// Collect additional data required prior to rendering
$this->additional_fields['nid'] = 'nid';
$this->additional_fields['vid'] = 'vid';
$this->additional_fields['published'] = array(
'table' => 'node',
'field' => 'status',
);
$this->additional_fields['current_vid'] = array(
'table' => 'node',
'field' => 'vid',
);
}