function content_handler_field::admin_summary in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 includes/views/handlers/content_handler_field.inc \content_handler_field::admin_summary()
Provide text for the administrative summary
File
- includes/
views/ handlers/ content_handler_field.inc, line 173 - The subclass adds basic field and formatter info, for field-specific subclasses to use if they need to.
Class
- content_handler_field
- @file 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']);
}
}