You are here

public function biblio_handler_field_keyword::init in Bibliography Module 7

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_keyword.inc, line 11

Class

biblio_handler_field_keyword

Code

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