function views_handler_field_markup::construct

3.x views_handler_field_markup.inc views_handler_field_markup::construct()
2.x views_handler_field_markup.inc views_handler_field_markup::construct()

Constructor; calls to base object constructor.

Overrides views_handler_field::construct

File

handlers/views_handler_field_markup.inc, line 23
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

function construct() {
  parent::construct();

  $this->format = $this->definition['format'];

  $this->additional_fields = array();
  if (is_array($this->format)) {
    $this->additional_fields['format'] = $this->format;
  }
}