You are here

function panels_get_layout in Panels 5.2

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

Fetch a layout plugin

Parameters

$layout: Name of a panel layout.

Return value

An array with information about the requested panel layout.

17 calls to panels_get_layout()
panels_ajax_add_content in includes/display_edit.inc
Entry point for AJAX: 'Add Content' modal form, from which the user selects the type of pane to add.
panels_change_layout in includes/display_edit.inc
Form definition for the display layout converter.
panels_common_get_layout_information in includes/common.inc
The layout information fieldset displayed at admin/edit/panel-%implementation%/add/%layout%.
panels_edit_display in includes/display_edit.inc
Form definition for the panels display editor
panels_edit_layout_settings_form in includes/display_edit.inc
Form definition for the display layout settings editor.

... See full list

File

includes/plugins.inc, line 1554
plugins.inc

Code

function panels_get_layout($layout) {
  return panels_get_plugins('layouts', 'panels_layouts', $layout);
}