You are here

function theme_iek_image_overlay_summary in Image effect kit 7

Theme function for overlay effect summary.

File

./iek.module, line 991
Primarily Drupal hooks and global API functions to manipulate image styles.

Code

function theme_iek_image_overlay_summary($variables) {
  $data = $variables['data'];
  if (isset($data['overlay_name']) && isset($data['overlay_offset']) && isset($data['bg_offset'])) {
    $summary = array();
    $summary['overlay name'] = $data['overlay_name'];
    $summary['overlay offset'] = $data['overlay_offset'] . 'px';
    $summary['bg offset'] = $data['bg_offset'] . 'px';
    return iek_generate_summary($summary);
  }
  return '';
}