function theme_canvasactions_canvas2file_summary in ImageCache Actions 7
Same name and namespace in other branches
- 8 canvasactions/canvasactions.inc \theme_canvasactions_canvas2file_summary()
Implements theme_hook() for the underlay (background) effect summary.
Parameters
array $variables: An associative array containing:
- data: The current configuration for this image effect.
Return value
string The HTML for the summary of this image effect.
File
- canvasactions/
canvasactions.inc, line 531
Code
function theme_canvasactions_canvas2file_summary($variables) {
$data = $variables['data'];
$file = $data['path'];
return "xpos:{$data['xpos']} , ypos:{$data['ypos']} alpha:{$data['alpha']}%. file: {$file}, dimensions:{$data['dimensions']}";
}