You are here

function ctools_stylizer_get_css_class in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 includes/stylizer.inc \ctools_stylizer_get_css_class()

Get the class to use for a stylizer plugin.

1 call to ctools_stylizer_get_css_class()
ctools_stylizer_build_style in includes/stylizer.inc
Build the files for a stylizer given the proper settings.

File

includes/stylizer.inc, line 229
Create customized CSS and images from palettes created by user input.

Code

function ctools_stylizer_get_css_class($plugin, $settings) {
  ctools_include('cleanstring');
  return ctools_cleanstring($plugin['name'] . '-' . ctools_stylizer_get_settings_name($settings));
}