You are here

function panels_get_styles in Panels 6.3

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_get_styles()
  2. 6.2 includes/plugins.inc \panels_get_styles()
  3. 7.3 includes/plugins.inc \panels_get_styles()

Fetch metadata for all style plugins.

Return value

An array of arrays with information about all available panel styles.

3 calls to panels_get_styles()
PanelsLegacyState::checkStylesIPE1 in includes/legacy.inc
Compatibility checker that ensures modules that implement Panels styles list their api as being at least 2.0; this corresponds to the change with the initial IPE commit that made region styles take a fully rendered pane HTML string instead of a pane…
panels_edit_style_type_form in plugins/display_renderers/panels_renderer_editor.class.php
Choose style form
panels_theme in ./panels.module
Implementation of hook_theme()

File

includes/plugins.inc, line 325
Contains helper code for plugins and contexts.

Code

function panels_get_styles() {
  ctools_include('plugins');
  return ctools_get_plugins('panels', 'styles');
}