function panels_get_layouts in Panels 6.3
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_get_layouts()
- 5 panels.module \panels_get_layouts()
- 6.2 includes/plugins.inc \panels_get_layouts()
- 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.
7 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_common_allowed_layouts_form in includes/
common.inc - The FAPI code for generating an 'allowed layouts' selection form.
- panels_common_get_allowed_layouts in includes/
common.inc - Get the allowed layouts for the given module.
- panels_menu in ./
panels.module - Implementation of hook_menu
- panels_mini_ui::list_form in panels_mini/
plugins/ export_ui/ panels_mini_ui.class.php - Create the filter/sort form at the top of a list of exports.
File
- includes/
plugins.inc, line 277 - Contains helper code for plugins and contexts.
Code
function panels_get_layouts() {
ctools_include('plugins');
return ctools_get_plugins('panels', 'layouts');
}