You are here

public function views_handler_field_markup::construct in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 handlers/views_handler_field_markup.inc \views_handler_field_markup::construct()
  2. 6.2 handlers/views_handler_field_markup.inc \views_handler_field_markup::construct()

Construct a new field handler.

Overrides views_handler_field::construct

File

handlers/views_handler_field_markup.inc, line 24
Definition of views_handler_field_markup.

Class

views_handler_field_markup
A handler to run a field through check_markup, using a companion format field.

Code

public function construct() {
  parent::construct();
  $this->format = $this->definition['format'];
  $this->additional_fields = array();
  if (is_array($this->format)) {
    $this->additional_fields['format'] = $this->format;
  }
}