You are here

public function dsDisplay::regionHide in Display Suite 6.3

Helper to hide a region

1 call to dsDisplay::regionHide()
dsDisplay::getLayout in includes/dsDisplay.php
Load a layout from hook_ds_layouts, and assign region variables

File

includes/dsDisplay.php, line 454
Class definition for a Display Suite Display object

Class

dsDisplay
The Display Suite Display object

Code

public function regionHide($name) {
  if (isset($this->regions[$name])) {
    $this->regions[$name]['#hidden'] == TRUE;
  }
}