You are here

function i18n_panels_panels_pane_update in Panels 7.3

Implements hook_panels_pane_update().

Parameters

stdClass $pane: The pane to deal with.

1 call to i18n_panels_panels_pane_update()
i18n_panels_panels_pane_insert in i18n_panels/i18n_panels.module
Implements hook_panels_pane_insert().

File

i18n_panels/i18n_panels.module, line 99
Internationalization (i18n) submodule: Panels translation.

Code

function i18n_panels_panels_pane_update($pane) {
  if ($translation_object = i18n_panels_get_i18n_translation_object($pane)) {
    $translation_object->uuid = $pane->uuid;
    $status = i18n_string_object_update('pane_configuration', $translation_object);
  }
}