You are here

function layout_region_load_all in Layout 7

Load all common layout regions.

Return value

All common regions in an associative array keyed by machine name.

6 calls to layout_region_load_all()
layout_admin_region_list in ./layout.admin.regions.inc
Administration page for the region list.
layout_admin_region_list_form_submit in ./layout.admin.regions.inc
Form submission function for layout_admin_region_list().
layout_responsive_panels in plugins/layouts/responsive.inc
Return the actual list of regions for this responsive panel.
layout_responsive_settings_form in plugins/layouts/responsive.inc
Form callback. Add our form elements for data interchange.
layout_responsive_settings_form_submit in plugins/layouts/responsive.inc
Form submission. Process the changes to the layout.

... See full list

File

./layout.module, line 181
Responsive layout builder tool for Panels.

Code

function layout_region_load_all() {
  ctools_include('export');
  $regions = ctools_export_crud_load_all('layout_region');
  return $regions;
}