function theme_sdl_editor_item in Scald: Media Management made easy 6
Same name and namespace in other branches
- 7 modules/library/scald_dnd_library/scald_dnd_library.module \theme_sdl_editor_item()
Returns HTML for an atom rendered in the "Editor Representation" context.
2 theme calls to theme_sdl_editor_item()
- scald_dnd_library_scald_render in scald_dnd_library/
scald_dnd_library.module - Implements hook_scald_render.
- theme_sdl_preview_item in scald_dnd_library/
scald_dnd_library.module - Returns HTML for an atom rendered in the "Preview" context.
File
- scald_dnd_library/
scald_dnd_library.module, line 207 - Scald DnD Library
Code
function theme_sdl_editor_item($informations, $image) {
$data = !empty($informations->player) ? $informations->player : $image;
return "\n <div class='image'>\n {$data}\n </div>\n ";
}