format = $this->definition['format']; $this->additional_fields = array(); if (!is_numeric($this->format)) { $this->additional_fields['format'] = array('field' => $this->format); } } function render($values) { $value = $this->get_value($values); $format = $this->get_value($values, 'format'); $format = is_numeric($this->format) ? $this->format : $format; if ($value) { $value = str_replace('', '', $value); return check_markup($value, $format, FALSE); } } function element_type() { if (isset($this->definition['element type'])) { return $this->definition['element type']; } return 'div'; } }