function image_style_list

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.