theme_image_rotate_summary
function theme_image_rotate_summary
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
File
- modules/image/image.admin.inc, line 922
- Administration pages for image settings.
Code
function theme_image_rotate_summary($variables) { $data = $variables['data']; return ($data['random']) ? t('random between -@degrees° and @degrees°', array('@degrees' => str_replace('-', '', $data['degrees']))) : t('@degrees°', array('@degrees' => $data['degrees'])); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!image!image.admin.inc/function/theme_image_rotate_summary/7.x