You are here

function panels_get_layout in Panels 7.3

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

Fetch metadata on a specific layout plugin.

Parameters

$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/display-layout.inc
Form definition for the display layout converter.
panels_display::render in ./panels.module
Render this panels display.
panels_edit_configure_pane_lock_form in plugins/display_renderers/panels_renderer_editor.class.php
Configure lock on a pane form.
panels_edit_display_settings_form in includes/display-edit.inc
Form for display settings.
panels_flexible_convert_settings in plugins/layouts/flexible/flexible.inc
Flexible panel settings converter.

... See full list

File

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

Code

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