function panelizer_is_panelized in Panelizer 7
Same name and namespace in other branches
- 6 panelizer.module \panelizer_is_panelized()
- 7.3 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 331 - panelize.module
Code
function panelizer_is_panelized($type, $key) {
$settings = variable_get('panelizer_defaults_' . $type . '_' . $key, array());
return !empty($settings['status']);
}