You are here

function fieldable_panels_panes_entity_update in Fieldable Panels Panes (FPP) 7

Implements hook_entity_update().

File

./fieldable_panels_panes.module, line 1647
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_panes_entity_update($entity, $type) {
  if ($type == 'fieldable_panels_pane') {
    $cid = "fieldable_panels_panes_{$entity->bundle}_content_type";
    cache_clear_all($cid, 'cache_panels');
  }
}