You are here

function theme_canvasactions_source2canvas_summary in ImageCache Actions 7

Same name and namespace in other branches
  1. 8 canvasactions/canvasactions.inc \theme_canvasactions_source2canvas_summary()

Implements theme_hook() for the overlay: source img to canvas 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 789

Code

function theme_canvasactions_source2canvas_summary(array $variables) {
  $data = $variables['data'];
  return 'xpos:' . $data['xpos'] . ', ypos:' . $data['ypos'] . ' alpha:' . $data['alpha'] . '%';
}