function panelizer_is_panelized in Panelizer 6
Same name and namespace in other branches
- 7.3 panelizer.module \panelizer_is_panelized()
- 7 panelizer.module \panelizer_is_panelized()
- 7.2 panelizer.module \panelizer_is_panelized()
Determine if a given thing is panelized.
3 calls to panelizer_is_panelized()
- panelizer_allowed_content_page in includes/
admin.inc - Page to configure what content is available for a given node type.
- panelizer_edit_node_callback in ./
panelizer.module - Determine if the current user has access to edit panelizer info on a node.
- panelizer_load_node_panelizer in includes/
node.inc - Retrieve the panelizer panel associated with a node.
File
- ./
panelizer.module, line 348 - panelizer.module
Code
function panelizer_is_panelized($type, $key) {
$settings = variable_get('panelizer_defaults', array());
return !empty($settings[$type][$key]['status']);
}