You are here

function panels_get_style in Panels 6.2

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_get_style()
  2. 6.3 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.

4 calls to panels_get_style()
panels_ajax_style_settings in includes/display-layout-settings.inc
AJAX incoming to deal with the style settings modal
panels_edit_layout_settings_form in includes/display-layout-settings.inc
Form definition for the display layout settings editor.
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_render_pane in includes/display-render.inc
Render a pane using the appropriate style.

File

includes/plugins.inc, line 1600
plugins.inc

Code

function panels_get_style($style) {
  return panels_get_plugins('styles', 'panels_styles', $style);
}