function hook_styles_styles in Styles 7
Same name and namespace in other branches
- 6.2 includes/styles.api.php \hook_styles_styles()
- 6 includes/styles.api.php \hook_styles_styles()
- 7.2 includes/styles.api.php \hook_styles_styles()
1 function implements hook_styles_styles()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- file_styles_styles_styles in contrib/file_styles/ file_styles.module 
- Implements hook_styles_styles().
1 invocation of hook_styles_styles()
- styles_styles in ./styles.module 
- Get an array of all available styles.
File
- ./styles.api.php, line 52 
- Hooks available for modules to implement Styles functionality.
Code
function hook_styles_styles() {
  $styles = array();
  foreach (image_styles() as $style_name => $style) {
    $styles[$style_name] = $style;
  }
  return array(
    'media' => array(
      'image' => $styles,
    ),
  );
}