theme_image_rotate_summary

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 theme_image_rotate_summary($variables)

Returns HTML for a summary of an image rotate effect.

Parameters

$variables An associative array containing:

  • data: The current configuration for this rotate effect.

Related topics

Code

modules/image/image.admin.inc, line 904

<?php
function theme_image_rotate_summary($variables) {
  $data = $variables['data'];
  return ($data['random']) ? t('random between -@degrees&deg and @degrees&deg', array('@degrees' => str_replace('-', '', $data['degrees']))) : t('@degrees&deg', array('@degrees' => $data['degrees']));
}
?>