You are here

function ctools_get_style_base_types in Chaos Tool Suite (ctools) 7

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

Fetch metadata about all of the style base types that are available.

4 calls to ctools_get_style_base_types()
stylizer_panels_dashboard_blocks in stylizer/stylizer.module
Implementation of hook_panels_dashboard_blocks().
stylizer_theme in stylizer/stylizer.module
Implementation of hook_theme to load all content plugins and pass thru if necessary.
stylizer_ui::init in stylizer/plugins/export_ui/stylizer_ui.class.php
Fake constructor -- this is easier to deal with than the real constructor because we are retaining PHP4 compatibility, which would require all child classes to implement their own constructor.
theme_ctools_stylizer_preview_form in includes/stylizer.inc
Theme the stylizer preview form.

File

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

Code

function ctools_get_style_base_types() {
  $types = array();
  foreach (module_implements('ctools_style_base_types') as $module) {
    $types[$module] = module_invoke($module, 'ctools_style_base_types');
  }
  return $types;
}