function theme_editor_caption in Editor 7
Returns HTML for a captioned item, usually an image.
1 theme call to theme_editor_caption()
- _editor_caption in includes/
editor.filters.inc - Implements callback_filter_process().
File
- includes/
editor.theme.inc, line 78 - Theme functions for Editor module.
Code
function theme_editor_caption($variables) {
$output = '';
$output .= '<figure' . drupal_attributes($variables['attributes']) . '>';
$output .= $variables['item'];
$output .= '<figcaption>' . $variables['caption'] . '</figcaption>';
$output .= '</figure>';
return $output;
}