You are here

public function dsDisplay::regionSetup in Display Suite 6.3

Set up a region for use

1 call to dsDisplay::regionSetup()
dsDisplay::render in includes/dsDisplay.php
Render content

File

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

Class

dsDisplay
The Display Suite Display object

Code

public function regionSetup($region_name) {

  // Default region classes
  $this
    ->regionAttr($region_name, 'class', 'ds-region');
  $this
    ->regionAttr($region_name, 'class', $this->api_info['module'] . '-region-' . $region_name);
}