function _image_effect_definitions_sort

_image_effect_definitions_sort($a, $b)

Internal function for sorting image effect definitions through uasort().

See also

image_effect_definitions()

File

modules/image/image.module, line 1413
Exposes global functionality for creating image styles.

Code

function _image_effect_definitions_sort($a, $b) {
  return strcasecmp($a['name'], $b['name']);
}

© 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.module/function/_image_effect_definitions_sort/7.x