You are here

function styleswitcher_style_title in Style Switcher 6.2

Same name and namespace in other branches
  1. 7.2 styleswitcher.module \styleswitcher_style_title()

Returns style's label.

This function is assigned as a title callback in styleswitcher_menu().

Parameters

array $style: Style array as returned from styleswitcher_style_load().

Return value

string Label of the style.

See also

styleswitcher_style_load()

1 string reference to 'styleswitcher_style_title'
styleswitcher_menu in ./styleswitcher.module
Implements hook_menu().

File

./styleswitcher.module, line 369
Module's hooks implementations and helper functions.

Code

function styleswitcher_style_title(array $style) {
  return $style['label'];
}