public function dsDisplay::regionIsActive in Display Suite 6.3
Determine whether a region is active
6 calls to dsDisplay::regionIsActive()
- dsDisplay::displayRender in includes/
dsDisplay.php - Render the display
- dsDisplay::regionFinalise in includes/
dsDisplay.php - Finalise a region for rendering
- dsDisplay::regionRender in includes/
dsDisplay.php - Render a region
- dsDisplay::regionsAddContent in includes/
dsDisplay.php - For all regions, add content from provided fields
- dsDisplay::regionsRenderAll in includes/
dsDisplay.php - Wrapper to render all region content
File
- includes/
dsDisplay.php, line 424 - Class definition for a Display Suite Display object
Class
- dsDisplay
- The Display Suite Display object
Code
public function regionIsActive($region_name) {
if (isset($this->regions[$region_name]) && $this->regions[$region_name]['#hidden'] == FALSE) {
return TRUE;
}
return FALSE;
}