1.20.x image.admin.inc image_style_list()

Menu callback; Listing of all current image styles.

File

modules/image/image.admin.inc, line 10
Admin page callbacks for the Image module.

Code

function image_style_list() {
  $page = array();

  $styles = image_styles();
  $page['image_style_list'] = array(
    '#markup' => theme('image_style_list', array('styles' => $styles)),
    '#attached' => array(
      'css' => array(backdrop_get_path('module', 'image') . '/css/image.admin.css' => array()),
    ),
  );

  return $page;

}