function panels_get_layouts in Panels 5.2
Same name and namespace in other branches
- 5 panels.module \panels_get_layouts()
- 6.3 includes/plugins.inc \panels_get_layouts()
- 6.2 includes/plugins.inc \panels_get_layouts()
- 7.3 includes/plugins.inc \panels_get_layouts()
Fetch all layout plugins
Return value
An array of arrays with information about all available panel layouts.
8 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_edit.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.module - Handle the add mini panel page.
- panels_mini_list_page in panels_mini/
panels_mini.module - Provide a list of mini panels, with links to edit or delete them.
File
- includes/
plugins.inc, line 1564 - plugins.inc
Code
function panels_get_layouts() {
return panels_get_plugins('layouts', 'panels_layouts');
}