function theme_image_rotate_summary

7.x theme_image_rotate_summary($variables)

Returns HTML for a summary of an image rotate effect.


$variables: An associative array containing:

  • data: The current configuration for this rotate effect.

Related topics

2 string references to the theme hook from theme_image_rotate_summary()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

image_image_effect_info in drupal/modules/image/
Implements hook_image_effect_info().
image_theme in drupal/modules/image/image.module
Implements hook_theme().


drupal/modules/image/, line 922
Administration pages for image settings.


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']));