You are here

function views_handler_field_content::admin_summary in Content Construction Kit (CCK) 6

Provide text for the administrative summary

File

includes/content.views.inc, line 306

Class

views_handler_field_content
The subclass adds basic field and formatter info, for field-specific subclasses to use if they need to.

Code

function admin_summary() {

  // Display the formatter name.
  $field = $this->content_field;
  $field_types = _content_field_types();
  if (isset($field_types[$field['type']]['formatters'][$this->options['format']])) {
    return t($field_types[$field['type']]['formatters'][$this->options['format']]['label']);
  }
}