You are here

function panels_get_layout in Panels 6.3

Same name and namespace in other branches
  1. 5.2 includes/ \panels_get_layout()
  2. 5 panels.module \panels_get_layout()
  3. 6.2 includes/ \panels_get_layout()
  4. 7.3 includes/ \panels_get_layout()

Fetch metadata on a specific layout plugin.


$layout: Name of a panel layout. If the layout name contains a ':' this indicates that we need to separate the sublayout out and load it individually.

Return value

An array with information about the requested panel layout.

13 calls to panels_get_layout()
panels_change_layout in includes/
Form definition for the display layout converter.
panels_display::render in ./panels.module
Render this panels display.
panels_edit_display_settings_form in includes/
Form for display settings.
panels_flexible_convert_settings in plugins/layouts/flexible/
Convert settings from old style to new, or provide defaults for empty settings.
panels_ipe_edit_control_form in panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
FAPI callback to create the Save/Cancel form for the IPE.

... See full list


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


function panels_get_layout($layout) {
  return ctools_get_plugins('panels', 'layouts', $layout);