You are here

public function biblio_handler_field_contributor::init in Bibliography Module 7

Same name and namespace in other branches
  1. 7.2 views/biblio_handler_field_contributor.inc \biblio_handler_field_contributor::init()

Init the handler with necessary data.

Parameters

view $view: The $view object this handler is attached to.

array $options: The item from the database; the actual contents of this will vary based upon the type of handler.

Overrides biblio_handler_field::init

File

views/biblio_handler_field_contributor.inc, line 11

Class

biblio_handler_field_contributor

Code

public function init(&$view, &$options) {
  module_load_include('inc', 'biblio', 'includes/biblio.contributors');
  parent::init($view, $options);
  $this->multiple = TRUE;
  $this->additional_fields['vid'] = array(
    'table' => 'biblio',
    'field' => 'vid',
  );
}