function panopoly_core_update_7003 in Panopoly Core 7
Remove the 'node_body' Pane from the list of allowed panes.
File
- ./
panopoly_core.install, line 122 - An installation file for Panopoly Core
Code
function panopoly_core_update_7003() {
$allowed = variable_get('panels_page_allowed_types', array());
if (!empty($allowed['node_body-node_body'])) {
$allowed['node_body-node_body'] = 0;
variable_set('panels_page_allowed_types', $allowed);
}
}