function hook_panels_pane_delete in Panels 7.3
Fired before panes are deleted.
Parameters
array $pids: Array with the panel id's to delete.
1 function implements hook_panels_pane_delete()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- i18n_panels_panels_pane_delete in i18n_panels/
i18n_panels.module - Implements hook_panels_pane_delete().
1 invocation of hook_panels_pane_delete()
- panels_save_display in ./
panels.module - Save a display object.
File
- ./
panels.api.php, line 232 - Hooks provided by Panels.
Code
function hook_panels_pane_delete($pids) {
foreach ($pids as $pid) {
// Create dummy pane with pid as property.
$pane = (object) array(
'pid' => $pid,
);
i18n_string_object_remove('panels_pane_configuration', $pane);
}
}