function panels_get_style in Panels 7.3
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_get_style()
- 6.3 includes/plugins.inc \panels_get_style()
- 6.2 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_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.
File
- includes/
plugins.inc, line 325 - Contains helper code for plugins and contexts.
Code
function panels_get_style($style) {
ctools_include('plugins');
return ctools_get_plugins('panels', 'styles', $style);
}