You are here

function hook_fieldable_panels_pane_update in Fieldable Panels Panes (FPP) 7

Respond to updates to a fieldable panels pane.

Parameters

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

1 invocation of hook_fieldable_panels_pane_update()
PanelsPaneController::save in includes/PanelsPaneController.class.php
Save the given FPP object.

File

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

Code

function hook_fieldable_panels_pane_update($panels_pane) {
  db_update('mytable')
    ->fields(array(
    'fpid' => $panels_pane->fpid,
  ))
    ->condition('vid', $panels_pane->vid)
    ->execute();
}