function theme_imagefield_formatter_path in ImageField 5.2
1 theme call to theme_imagefield_formatter_path()
- imagefield_field_formatter in ./
imagefield.module - Implementation of hook_field_formatter().
File
- ./
imagefield.module, line 1013 - Defines an image field type. imagefield uses content.module to store the fid, and the drupal files table to store the actual file data.
Code
function theme_imagefield_formatter_path($path, $attributes = array()) {
$attributes['class'] .= ' imagefield-formatter-url';
return '<span ' . drupal_attributes($attributes) . '>' . $path . '</span>';
}