You are here

function panels_get_style in Panels 6.3

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

Fetch metadata on a specific style plugin.

Parameters

$style: Name of a panel style.

Return value

An array with information about the requested panel style.

6 calls to panels_get_style()
panels_get_panel_style_and_settings in includes/display-render.inc
Given a display and the id of a panel, get the style in which to render that panel.
panels_renderer_editor::ajax_style_type in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to select the style for a display, region or pane.
panels_renderer_editor::get_style in plugins/display_renderers/panels_renderer_editor.class.php
Get the appropriate style from the panel in the cache.
panels_renderer_standard::prepare_regions in plugins/display_renderers/panels_renderer_standard.class.php
Prepare the list of regions to be rendered.
panels_renderer_standard::render_pane in plugins/display_renderers/panels_renderer_standard.class.php
Render a pane using its designated style.

... See full list

File

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

Code

function panels_get_style($style) {
  ctools_include('plugins');
  return ctools_get_plugins('panels', 'styles', $style);
}