You are here

function ctools_get_style_bases in Chaos Tool Suite (ctools) 6

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

Fetch metadata for all style_base plugins.

Return value

An array of arrays with information about all available styleizer style bases.

3 calls to ctools_get_style_bases()
ctools_stylizer_edit_style_form_choose in includes/stylizer.inc
Choose which plugin to use to create a new style.
ctools_stylizer_theme in includes/stylizer.theme.inc
Implementation of hook_theme to load all content plugins and pass thru if necessary.
stylizer_ui::list_form in stylizer/plugins/export_ui/stylizer_ui.class.php
Create the filter/sort form at the top of a list of exports.

File

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

Code

function ctools_get_style_bases() {
  ctools_include('plugins');
  return ctools_get_plugins('ctools', 'style_bases');
}