You are here

function ctools_get_style_bases in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 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.
stylizer_theme in stylizer/stylizer.module
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('stylizer', 'style_bases');
}