function file_style_list in Styles 7
Same name and namespace in other branches
- 7.2 contrib/file_styles/file_styles.admin.inc \file_style_list()
Menu callback; Listing of all current File styles.
1 string reference to 'file_style_list'
- xfile_styles_menu in contrib/
file_styles/ file_styles.module - Implement hook_menu().
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;
}