You are here

function library_handler_field_library_status::construct in Library 7

Same name and namespace in other branches
  1. 6.2 includes/views/handlers/library_handler_field_library_status.inc \library_handler_field_library_status::construct()
  2. 6 includes/views/handlers/library_handler_field_library_status.inc \library_handler_field_library_status::construct()

Implements construct().

Overrides views_handler_field::construct

File

includes/views/handlers/library_handler_field_library_status.inc, line 16
Field handler for library item status

Class

library_handler_field_library_status
Display a node's status in the library as a whole

Code

function construct() {
  parent::construct();
  $this->additional_fields['nid'] = 'nid';
  $this->additional_fields['lid'] = array(
    'table' => 'library',
    'field' => 'id',
  );
}