You are here

function ds_get_regions in Display Suite 6.3

Load regions for a layout

2 calls to ds_get_regions()
dsRegionToBlock::plugin_form in plugins/ds_extension/regiontoblock.inc
plugin_form().
dsRegionToBlock::plugin_form_submit in plugins/ds_extension/regiontoblock.inc
plugin_form_submit().

File

./ds.module, line 427

Code

function ds_get_regions($layout_name) {
  $layout = ds_get_layout($layout_name);
  return $layout['regions'];
}