You are here

function views_handler_field_fontyourface_tag_font_tid::init in @font-your-face 7

Same name and namespace in other branches
  1. 6.2 views/views_handler_field_fontyourface_tag_font_tid.inc \views_handler_field_fontyourface_tag_font_tid::init()
  2. 7.2 modules/fontyourface_ui/views/views_handler_field_fontyourface_tag_font_tid.inc \views_handler_field_fontyourface_tag_font_tid::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 views_handler_field::init

File

views/views_handler_field_fontyourface_tag_font_tid.inc, line 14
Views handler.

Class

views_handler_field_fontyourface_tag_font_tid
Field handler for tags. Largely copied from views_handler_field_term_node_tid.inc

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['fid'] = array(
    'table' => 'fontyourface_font',
    'field' => 'fid',
  );
}