function block_class_styles_get_style in Block Class Styles 7
Same name and namespace in other branches
- 7.2 block_class_styles.module \block_class_styles_get_style()
Return a style by it's css
Parameters
string $css:
Return value
string or FALSE
Related topics
1 call to block_class_styles_get_style()
- block_class_styles_preprocess_block in ./
block_class_styles.module - Implements hook_preprocess_block().
File
- ./
block_class_styles.module, line 151 - Base module file for block_class_styles
Code
function block_class_styles_get_style($css) {
$presets = block_class_styles_info();
return $css && array_key_exists($css, $presets) ? $presets[$css] : FALSE;
}