You are here

function panels_get_layouts in Panels 6.2

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

Fetch metadata for all layout plugins.

Return value

An array of arrays with information about all available panel layouts.

9 calls to panels_get_layouts()
panels_allowed_layouts::list_layouts in includes/common.inc
Snag a list of the current layouts for internal use.
panels_choose_layout in includes/display-layout.inc
Form definition for the display layout editor.
panels_common_set_allowed_layouts in includes/common.inc
panels_mini_add_page in panels_mini/panels_mini.admin.inc
Handle the add mini panel page.
panels_mini_list_page in panels_mini/panels_mini.admin.inc
Provide a list of mini panels, with links to edit or delete them.

... See full list

File

includes/plugins.inc, line 1587
plugins.inc

Code

function panels_get_layouts() {
  return panels_get_plugins('layouts', 'panels_layouts');
}