function _skinr_panels_is_panel in Skinr 7.2
Same name and namespace in other branches
- 8.2 skinr_panels/skinr_panels.module \_skinr_panels_is_panel()
Helper function to determine wether or not a panel is being rendered.
2 calls to _skinr_panels_is_panel()
- skinr_panels_page_build in skinr_panels/
skinr_panels.module - Implements hook_page_build().
- skinr_panels_skinr_preprocess_alter in skinr_panels/
skinr_panels.module - Implements hook_skinr_preprocess_alter().
File
- skinr_panels/
skinr_panels.module, line 77 - Provides Skinr integration with Panels.
Code
function _skinr_panels_is_panel($page_build = NULL) {
static $is_panel = TRUE;
if (!is_null($page_build)) {
$is_panel = FALSE;
}
return $is_panel;
}