You are here

function hook_fieldable_panels_pane_delete in Fieldable Panels Panes (FPP) 7

Respond to fieldable panels pane deletion.

Parameters

object $panels_pane: The fieldable panels pane that is being deleted.

1 invocation of hook_fieldable_panels_pane_delete()
PanelsPaneController::delete in includes/PanelsPaneController.class.php
Delete a list of FPPs.

File

./fieldable_panels_panes.api.php, line 21
Hooks provided by the Fieldable Panels Panes module.

Code

function hook_fieldable_panels_pane_delete($panels_pane) {
  db_delete('mytable')
    ->condition('fpid', $panels_pane->fpid)
    ->execute();
}