You are here

function ctools_get_style_base in Chaos Tool Suite (ctools) 6

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

Fetch metadata on a specific style_base plugin.

Parameters

$content type: Name of a panel content type.

Return value

An array with information about the requested stylizer style base.

4 calls to ctools_get_style_base()
ctools_stylizer_edit_style in includes/stylizer.inc
Add a new style of the specified type.
ctools_stylizer_edit_style_form_choose_submit in includes/stylizer.inc
stylizer_panels_dashboard_blocks in stylizer/stylizer.module
Implementation of hook_panels_dashboard_blocks().
stylizer_ui::get_wizard_info in stylizer/plugins/export_ui/stylizer_ui.class.php
Get the form info for the wizard.

File

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

Code

function ctools_get_style_base($style_base) {
  ctools_include('plugins');
  return ctools_get_plugins('ctools', 'style_bases', $style_base);
}