You are here

function ds_extras_ds_layout_info_alter in Display Suite 7.2

Same name and namespace in other branches
  1. 7 modules/ds_extras/ds_extras.module \ds_extras_ds_layout_info_alter()

Implements hook_ds_layout_info_alter().

File

modules/ds_extras/ds_extras.module, line 68
Display Suite extras main functions.

Code

function ds_extras_ds_layout_info_alter(&$layouts) {
  if (variable_get('ds_extras_hidden_region')) {
    foreach ($layouts as $key => $layout) {
      $layouts[$key]['regions']['ds_hidden'] = t('Hidden');
    }
  }
}