You are here

function file_style_list in Styles 7.2

Same name and namespace in other branches
  1. 7 contrib/file_styles/file_styles.admin.inc \file_style_list()

Menu callback; Listing of all current File styles.

File

contrib/file_styles/file_styles.admin.inc, line 11
Administrative page callbacks for the File: Styles module.

Code

function file_style_list() {
  $page = array();
  $styles = file_styles();
  $page['file_style_list'] = array(
    '#markup' => theme('file_style_list', array(
      'styles' => $styles,
    )),
    '#attached' => array(
      'css' => array(
        drupal_get_path('module', 'file_styles') . '/file_styles.admin.css' => array(
          'preprocess' => FALSE,
        ),
      ),
    ),
  );
  return $page;
}