You are here

function image_style_list in Drupal 7

Menu callback; Listing of all current image styles.

1 string reference to 'image_style_list'
image_menu in modules/image/image.module
Implements hook_menu().

File

modules/image/image.admin.inc, line 11
Administration pages for image settings.

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(
        drupal_get_path('module', 'image') . '/image.admin.css' => array(),
      ),
    ),
  );
  return $page;
}