You are here

function panels_get_layouts in Panels 5

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_get_layouts()
  2. 6.3 includes/plugins.inc \panels_get_layouts()
  3. 6.2 includes/plugins.inc \panels_get_layouts()
  4. 7.3 includes/plugins.inc \panels_get_layouts()
5 calls to panels_get_layouts()
panels_add_page in ./panels.module
Handle the add panels page
panels_edit_form in ./panels.module
Edit an already loaded panels.
panels_panels_page in ./panels.module
panels_print_layout in ./panels.module
For external use: Given a layout ID and a $content array, return the finished layout.
theme_panels_edit_form in ./panels.module
Display the form to edit a panels.

File

./panels.module, line 820

Code

function panels_get_layouts() {
  static $layout = NULL;
  if (!$layout) {
    $layouts = panels_load_includes('layouts', 'panels_layouts');
  }
  return $layouts;
}